diff options
author | Eric Liu <ioeric@google.com> | 2018-10-18 12:23:05 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-10-18 12:23:05 +0000 |
commit | 4859738cfe58f3d8322fe81f123543791fa6c4de (patch) | |
tree | 3e3e898d9e423c84b623147ca257ab7347919a34 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b515fabb3bca172f13a52d144824b56180dad158 (diff) | |
download | llvm-4859738cfe58f3d8322fe81f123543791fa6c4de.zip llvm-4859738cfe58f3d8322fe81f123543791fa6c4de.tar.gz llvm-4859738cfe58f3d8322fe81f123543791fa6c4de.tar.bz2 |
[clangd] Names that are not spelled in source code are reserved.
Summary:
These are often not expected to be used directly e.g.
```
TEST_F(Fixture, X) {
^ // "Fixture_X_Test" expanded in the macro should be down ranked.
}
```
Only doing this for sema for now, as such symbols are mostly coming from sema
e.g. gtest macros expanded in the main file. We could also add a similar field
for the index symbol.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revision: https://reviews.llvm.org/D53374
llvm-svn: 344736
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions