From 8ea201f89c6001a662898ad81aadf9bd5e35e5fd Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 8 Oct 2017 21:28:47 +0000 Subject: 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 --- include/clang/Lex/PreprocessorLexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/clang/Lex') 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) {} -- cgit v1.2.3