Home
last modified time | relevance | path

Searched refs:DisableMacroExpansion (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/Lex/
DTokenLexer.h100 bool DisableMacroExpansion : 1; variable
137 bool DisableMacroExpansion, bool OwnsTokens);
DPreprocessor.h164 bool DisableMacroExpansion : 1; variable
1031 bool DisableMacroExpansion, bool OwnsTokens);
1035 bool DisableMacroExpansion) { in EnterTokenStream() argument
1036 EnterTokenStream(Toks.release(), NumToks, DisableMacroExpansion, true); in EnterTokenStream()
1038 void EnterTokenStream(ArrayRef<Token> Toks, bool DisableMacroExpansion) { in EnterTokenStream() argument
1039 EnterTokenStream(Toks.data(), Toks.size(), DisableMacroExpansion, false); in EnterTokenStream()
1118 bool OldVal = DisableMacroExpansion; in LexUnexpandedToken()
1119 DisableMacroExpansion = true; in LexUnexpandedToken()
1124 DisableMacroExpansion = OldVal; in LexUnexpandedToken()
1142 DisableMacroExpansion = true; in SetMacroExpansionOnlyInDirectives()
/external/llvm-project/clang/include/clang/Lex/
DTokenLexer.h97 bool DisableMacroExpansion : 1; variable
139 void Init(const Token *TokArray, unsigned NumToks, bool DisableMacroExpansion,
DPreprocessor.h207 bool DisableMacroExpansion : 1; variable
1355 bool DisableMacroExpansion, bool OwnsTokens,
1360 bool DisableMacroExpansion, bool IsReinject) { in EnterTokenStream() argument
1361 EnterTokenStream(Toks.release(), NumToks, DisableMacroExpansion, true, in EnterTokenStream()
1365 void EnterTokenStream(ArrayRef<Token> Toks, bool DisableMacroExpansion, in EnterTokenStream() argument
1367 EnterTokenStream(Toks.data(), Toks.size(), DisableMacroExpansion, false, in EnterTokenStream()
1451 bool OldVal = DisableMacroExpansion; in LexUnexpandedToken()
1452 DisableMacroExpansion = true; in LexUnexpandedToken()
1457 DisableMacroExpansion = OldVal; in LexUnexpandedToken()
1475 DisableMacroExpansion = true; in SetMacroExpansionOnlyInDirectives()
/external/llvm-project/clang/lib/Lex/
DPPExpressions.cpp852 bool DisableMacroExpansionAtStartOfDirective = DisableMacroExpansion; in EvaluateDirectiveExpression()
853 DisableMacroExpansion = false; in EvaluateDirectiveExpression()
872 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
892 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
905 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
917 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
DPPLexerChange.cpp154 bool DisableMacroExpansion, bool OwnsTokens, in EnterTokenStream() argument
171 EnterTokenStream(Toks, NumToks, DisableMacroExpansion, OwnsTokens, in EnterTokenStream()
181 Toks, NumToks, DisableMacroExpansion, OwnsTokens, IsReinject, *this); in EnterTokenStream()
184 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens, in EnterTokenStream()
DPreprocessor.cpp103 DisableMacroExpansion = false; in Preprocessor()
833 if (!DisableMacroExpansion) { in HandleIdentifier()
855 if (II.isFutureCompatKeyword() && !DisableMacroExpansion) { in HandleIdentifier()
866 if (II.isExtensionToken() && !DisableMacroExpansion) in HandleIdentifier()
879 !InMacroArgs && !DisableMacroExpansion && in HandleIdentifier()
DTokenLexer.cpp55 DisableMacroExpansion = false; in Init()
106 DisableMacroExpansion = disableMacroExpansion; in Init()
717 if (!DisableMacroExpansion && II->isHandleIdentifierCase()) in Lex()
DPPDirectives.cpp857 : PP(pp), save(pp->DisableMacroExpansion) { in ResetMacroExpansionHelper()
859 pp->DisableMacroExpansion = false; in ResetMacroExpansionHelper()
863 PP->DisableMacroExpansion = save; in ~ResetMacroExpansionHelper()
/external/clang/lib/Lex/
DPPExpressions.cpp808 bool DisableMacroExpansionAtStartOfDirective = DisableMacroExpansion; in EvaluateDirectiveExpression()
809 DisableMacroExpansion = false; in EvaluateDirectiveExpression()
826 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
840 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
853 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
865 DisableMacroExpansion = DisableMacroExpansionAtStartOfDirective; in EvaluateDirectiveExpression()
DPreprocessor.cpp101 DisableMacroExpansion = false; in Preprocessor()
662 if (!DisableMacroExpansion) { in HandleIdentifier()
684 if (II.isFutureCompatKeyword() && !DisableMacroExpansion) { in HandleIdentifier()
701 if (II.isExtensionToken() && !DisableMacroExpansion) in HandleIdentifier()
711 !DisableMacroExpansion && in HandleIdentifier()
DPPLexerChange.cpp192 bool DisableMacroExpansion, in EnterTokenStream() argument
208 EnterTokenStream(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
217 Toks, NumToks, DisableMacroExpansion, OwnsTokens, *this); in EnterTokenStream()
220 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
DTokenLexer.cpp43 DisableMacroExpansion = false; in Init()
91 DisableMacroExpansion = disableMacroExpansion; in Init()
511 if (!DisableMacroExpansion && II->isHandleIdentifierCase()) in Lex()
DPPDirectives.cpp880 : PP(pp), save(pp->DisableMacroExpansion) { in ResetMacroExpansionHelper()
882 pp->DisableMacroExpansion = false; in ResetMacroExpansionHelper()
886 PP->DisableMacroExpansion = save; in ~ResetMacroExpansionHelper()