diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-09 18:21:23 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2014-04-09 18:21:23 +0000 |
commit | 9ef53ceb51939e1191a18d6f77ba3fea19e25335 (patch) | |
tree | 6dab15ed6677b3c09f3971a9f337be93b9daf6bc /clang/lib/Lex/MacroInfo.cpp | |
parent | 91b079a9fcc6b889f800f181a2f1abcc81a2c2a5 (diff) | |
download | bcm5719-llvm-9ef53ceb51939e1191a18d6f77ba3fea19e25335.tar.gz bcm5719-llvm-9ef53ceb51939e1191a18d6f77ba3fea19e25335.zip |
[Preprocessor/CodeComplete] Don't add include guard macros to code-completion results.
llvm-svn: 205917
Diffstat (limited to 'clang/lib/Lex/MacroInfo.cpp')
-rw-r--r-- | clang/lib/Lex/MacroInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Lex/MacroInfo.cpp b/clang/lib/Lex/MacroInfo.cpp index 0325a80c3be..8547ad3f72f 100644 --- a/clang/lib/Lex/MacroInfo.cpp +++ b/clang/lib/Lex/MacroInfo.cpp @@ -29,7 +29,8 @@ MacroInfo::MacroInfo(SourceLocation DefLoc) IsUsed(false), IsAllowRedefinitionsWithoutWarning(false), IsWarnIfUnused(false), - FromASTFile(false) { + FromASTFile(false), + UsedForHeaderGuard(false) { } unsigned MacroInfo::getDefinitionLengthSlow(SourceManager &SM) const { |