projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ab60f
)
Fix clangd build, NFC
author
Haojian Wu
<hokein.wu@gmail.com>
Mon, 20 Jul 2020 13:11:00 +0000
(15:11 +0200)
committer
Haojian Wu
<hokein.wu@gmail.com>
Mon, 20 Jul 2020 13:13:20 +0000
(15:13 +0200)
clang-tools-extra/clangd/Selection.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clangd/Selection.cpp
b/clang-tools-extra/clangd/Selection.cpp
index
d1677e2
..
2e3c491
100644
(file)
--- a/
clang-tools-extra/clangd/Selection.cpp
+++ b/
clang-tools-extra/clangd/Selection.cpp
@@
-224,7
+224,7
@@
public:
// Find which of these are preprocessed to nothing and should be ignored.
std::vector<bool> PPIgnored(Sel.size(), false);
for (const syntax::TokenBuffer::Expansion &X :
- Buf.expansions
Affect
ing(Sel)) {
+ Buf.expansions
Overlapp
ing(Sel)) {
if (X.Expanded.empty()) {
for (const syntax::Token &Tok : X.Spelled) {
if (&Tok >= SelFirst && &Tok < SelLimit)