summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-10-08 21:28:47 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-10-08 21:28:47 +0000
commit8ea201f89c6001a662898ad81aadf9bd5e35e5fd (patch)
tree81c9c786f0c9b923934e6cce38fe722848b0bc45 /include/clang/Lex
parentb9f6a1f43c64cd840d95812848171c3c86c5b5c8 (diff)
Certain versions of clang require an explicit initialization for literal const members.
include/clang/Lex/PreprocessorLexer.h:79:3: error: constructor for 'clang::PreprocessorLexer' must explicitly initialize the const member 'FID' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r--include/clang/Lex/PreprocessorLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/PreprocessorLexer.h b/include/clang/Lex/PreprocessorLexer.h
index 5c2e4d4145..65021fc2d3 100644
--- a/include/clang/Lex/PreprocessorLexer.h
+++ b/include/clang/Lex/PreprocessorLexer.h
@@ -77,7 +77,7 @@ protected:
PreprocessorLexer(Preprocessor *pp, FileID fid);
PreprocessorLexer()
- : PP(nullptr), InitialNumSLocEntries(0),
+ : PP(nullptr), FID(), InitialNumSLocEntries(0),
ParsingPreprocessorDirective(false),
ParsingFilename(false),
LexingRawMode(false) {}