forked from OSchip/llvm-project
parent
0edc7100ba
commit
b3286fe685
|
@ -1702,6 +1702,7 @@ bool PCHReader::ParseLanguageOptions(
|
|||
PARSE_LANGOPT(Freestanding);
|
||||
PARSE_LANGOPT(NoBuiltin);
|
||||
PARSE_LANGOPT(ThreadsafeStatics);
|
||||
PARSE_LANGOPT(POSIXThreads);
|
||||
PARSE_LANGOPT(Blocks);
|
||||
PARSE_LANGOPT(EmitAllDecls);
|
||||
PARSE_LANGOPT(MathErrno);
|
||||
|
|
|
@ -590,6 +590,7 @@ void PCHWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
|
|||
|
||||
// Whether static initializers are protected by locks.
|
||||
Record.push_back(LangOpts.ThreadsafeStatics);
|
||||
Record.push_back(LangOpts.POSIXThreads);
|
||||
Record.push_back(LangOpts.Blocks); // block extension to C
|
||||
Record.push_back(LangOpts.EmitAllDecls); // Emit all declarations, even if
|
||||
// they are unused.
|
||||
|
|
Loading…
Reference in New Issue