sammccall created this revision.
sammccall added a reviewer: ilya-biryukov.
Herald added subscribers: cfe-commits, jkorous, MaskRay, ioeric, klimek.
needs tests
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D46183
Files:
clangd/CodeComplete.cpp
clangd/index/Index.cpp
clan
This revision was automatically updated to reflect the committed changes.
sammccall marked 2 inline comments as done.
Closed by commit rL331029: [clangd] Fix unicode handling, using UTF-16 where
LSP requires it. (authored by sammccall, committed by ).
Herald added a subscriber: llvm-commits.
Chan
Author: sammccall
Date: Fri Apr 27 04:59:28 2018
New Revision: 331029
URL: http://llvm.org/viewvc/llvm-project?rev=331029&view=rev
Log:
[clangd] Fix unicode handling, using UTF-16 where LSP requires it.
Summary:
The Language Server Protocol unfortunately mandates that locations in files
be repres
sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.
LG (once the dependencies are done!)
Comment at: clangd/ClangdUnit.cpp:362
CI->getFrontendOpts().DisableFree = false;
+CI->getLangOpts()->CommentOpts.ParseAllC
sammccall marked 3 inline comments as done.
sammccall added a comment.
Thanks!
Comment at: clangd/SourceCode.cpp:25
+// Returns true if CB returned true, false if we hit the end of string.
+template
+bool iterateCodepoints(StringRef U8, const Callback &CB) {
h
sammccall added a comment.
My main question/concern is: if these APIs extract/format based on
CodeCompletionString and friends, what should our plan be using this this in
AST-based features, such as hover?
Comment at: clangd/CodeComplete.cpp:259
+ CodeCo
ilya-biryukov added a comment.
This change LG as an extraction of the helper functionality to be reused in
clang, clang-tidy, etc.
However, I feel there are potential improvements both to the underlying code
and the new APIs that we could make.
I left some comments, trying to focus on interface
This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331026: [OpenCL] Add separate read_only and write_only pipe
IR types (authored by svenvh, committed by ).
Herald added a s
Author: svenvh
Date: Fri Apr 27 03:37:04 2018
New Revision: 331026
URL: http://llvm.org/viewvc/llvm-project?rev=331026&view=rev
Log:
[OpenCL] Add separate read_only and write_only pipe IR types
SPIR-V encodes the read_only and write_only access qualifiers of pipes,
so separate LLVM IR types are r
Anastasia added inline comments.
Comment at: lib/AST/Expr.cpp:870
+ if (C.getLangOpts().OpenCL && Ty.getAddressSpace() == LangAS::Default)
+Ty = C.getAddrSpaceQualType(Ty, LangAS::opencl_constant);
+
bader wrote:
> As `Ty` is passed by value, shouldn't we ac
nik updated this revision to Diff 144303.
nik added a comment.
Reduction to skip-in-preamble-only functionality.
Repository:
rC Clang
https://reviews.llvm.org/D45815
Files:
include/clang-c/Index.h
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
test/Parser/skip-function-bod
nik added a comment.
In https://reviews.llvm.org/D45815#1079327, @ilya-biryukov wrote:
> > OK, I've rechecked this change. I don't see any obvious mistake :)
>
> I think I got to the bottom of it. We didn't expect a big win, because we
> expect people to not put their non-template code into the
Wawha added a comment.
Hi klimek,
many thank for your comments. I will made the modifications you propose and
then update this patch.
Repository:
rC Clang
https://reviews.llvm.org/D44609
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
sammccall added a comment.
Re: locations in parameter USRs:
OK, so reading through the code, it looks like locations are included in USRs:
- for macros (except from system headers)
- for decls that aren't externally visible (static etc, function parameters,
locals)
- an objective-c class extens
ioeric added a comment.
There isn't actually as much code changed as it appears to be, but phabricator
doens't understand the diff very well... `git diff` might be an easier way to
review the patch.
Repository:
rC Clang
https://reviews.llvm.org/D46180
___
ioeric created this revision.
ioeric added a reviewer: ilya-biryukov.
Herald added subscribers: cfe-commits, klimek.
The class will be moved into libToolingCore as followup.
The new behaviors in this patch:
- New #include is inserted in the right position in a #include block to
preserver sorted
lebedev.ri added a comment.
Ping?
Repository:
rC Clang
https://reviews.llvm.org/D45931
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lebedev.ri added a comment.
I just feel like pointing out that you can already do that:
$ clang-tidy -checks=clang-analyzer-alpha* -p <>
(be wary of `*` expanding)
`clang-tidy --help` says:
-checks= -
<...> This option's value is appended to
ioeric created this revision.
ioeric added a reviewer: djasper.
Herald added subscribers: cfe-commits, mgorny, klimek.
This can be used to create a virtual environment (incl. VFS, source manager) for
code snippets. The existing clang::format::Environment is implemented based
on the new clang::tool
MTC added a comment.
ping^2
Repository:
rC Clang
https://reviews.llvm.org/D44934
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
This revision was automatically updated to reflect the committed changes.
Closed by commit rL331021: Make MultiplexASTDeserializationListener part of the
API [NFC] (authored by teemperor, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D37475?vs=113847&id=144287#toc
Repositor
Author: teemperor
Date: Fri Apr 27 00:05:40 2018
New Revision: 331021
URL: http://llvm.org/viewvc/llvm-project?rev=331021&view=rev
Log:
Make MultiplexASTDeserializationListener part of the API [NFC]
Summary:
This patch moves the MultiplexASTDeserializationListener declaration into a
public heade
Author: ahatanak
Date: Thu Apr 26 23:57:00 2018
New Revision: 331020
URL: http://llvm.org/viewvc/llvm-project?rev=331020&view=rev
Log:
[CodeGen] Avoid destructing a callee-destructued struct type in a
function if a function delegates to another function.
Fix a bug introduced in r328731, which cau
101 - 123 of 123 matches
Mail list logo