diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-08 21:28:47 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-10-08 21:28:47 +0000 |
commit | 8ea201f89c6001a662898ad81aadf9bd5e35e5fd (patch) | |
tree | 81c9c786f0c9b923934e6cce38fe722848b0bc45 /include/clang/Lex | |
parent | b9f6a1f43c64cd840d95812848171c3c86c5b5c8 (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.h | 2 |
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) {} |