Home
last modified time | relevance | path

Searched refs:LeadingSpace (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/Lex/
DTokenLexer.cpp215 Res.setFlag(Token::LeadingSpace); in ExpandFunctionArguments()
240 ResultToks.back().setFlag(Token::LeadingSpace); in ExpandFunctionArguments()
243 ResultToks.back().clearFlag(Token::LeadingSpace); in ExpandFunctionArguments()
307 ResultToks[FirstResult].setFlagValue(Token::LeadingSpace, in ExpandFunctionArguments()
359 ResultToks[ResultToks.size()-NumToks].setFlag(Token::LeadingSpace); in ExpandFunctionArguments()
428 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace || NextTokGetsSpace); in Lex()
487 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace); in Lex()
492 if (HasLeadingSpace) Tok.setFlag(Token::LeadingSpace); in Lex()
529 Tok.clearFlag(Token::LeadingSpace); in PasteTokens()
663 Result.setFlagValue(Token::LeadingSpace, Tok.hasLeadingSpace()); in PasteTokens()
DLexer.cpp2030 Result.setFlagValue(Token::LeadingSpace, HasLeadingSpace); in SkipWhitespace()
2175 Result.clearFlag(Token::LeadingSpace); in SkipLineComment()
2442 Result.setFlag(Token::LeadingSpace); in SkipBlockComment()
2844 Result.setFlag(Token::LeadingSpace); in CheckUnicodeWhitespace()
2907 Result.setFlag(Token::LeadingSpace); in Lex()
2956 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
2981 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
3022 Result.clearFlag(Token::LeadingSpace); in LexTokenInternal()
3035 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
DPragma.cpp336 PragmaToks.front().setFlag(Token::LeadingSpace); in HandleMicrosoft__pragma()
DPPMacroExpansion.cpp541 Identifier.setFlagValue(Token::LeadingSpace, hasLeadingSpace); in HandleMacroExpandedIdentifier()
DPPDirectives.cpp2299 Tok.clearFlag(Token::LeadingSpace); in HandleDefineDirective()
/external/llvm-project/clang/lib/Lex/
DTokenLexer.cpp232 StringifiedVAOPT.setFlag(Token::LeadingSpace); in stringifyVAOPTContents()
395 Res.setFlag(Token::LeadingSpace); in ExpandFunctionArguments()
423 ResultToks.back().setFlag(Token::LeadingSpace); in ExpandFunctionArguments()
426 ResultToks.back().clearFlag(Token::LeadingSpace); in ExpandFunctionArguments()
490 ResultToks[FirstResult].setFlagValue(Token::LeadingSpace, in ExpandFunctionArguments()
552 Token::LeadingSpace, NextTokGetsSpace); in ExpandFunctionArguments()
632 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace || NextTokGetsSpace); in Lex()
693 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace); in Lex()
698 if (HasLeadingSpace) Tok.setFlag(Token::LeadingSpace); in Lex()
747 LHSTok.clearFlag(Token::LeadingSpace); in pasteTokens()
[all …]
DLexer.cpp2249 Result.setFlagValue(Token::LeadingSpace, HasLeadingSpace); in SkipWhitespace()
2405 Result.clearFlag(Token::LeadingSpace); in SkipLineComment()
2672 Result.setFlag(Token::LeadingSpace); in SkipBlockComment()
3110 Result.setFlag(Token::LeadingSpace); in CheckUnicodeWhitespace()
3175 Result.setFlag(Token::LeadingSpace); in Lex()
3224 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
3252 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
3297 Result.clearFlag(Token::LeadingSpace); in LexTokenInternal()
3310 Result.setFlag(Token::LeadingSpace); in LexTokenInternal()
DPreprocessor.cpp1003 bool LeadingSpace = FilenameTok.hasLeadingSpace(); in LexHeaderName() local
1056 FilenameTok.setFlagValue(Token::LeadingSpace, LeadingSpace); in LexHeaderName()
DPPMacroExpansion.cpp594 Identifier.setFlagValue(Token::LeadingSpace, hasLeadingSpace); in HandleMacroExpandedIdentifier()
1859 Tok.setFlagValue(Token::LeadingSpace, HasLeadingSpace); in ExpandBuiltinMacro()
DPragma.cpp380 PragmaToks.front().setFlag(Token::LeadingSpace); in HandleMicrosoft__pragma()
DPPDirectives.cpp2556 Tok.clearFlag(Token::LeadingSpace); in ReadOptionalMacroParameterListAndBody()
/external/llvm-project/clang/include/clang/Lex/
DToken.h75 LeadingSpace = 0x02, // Whitespace exists before this token (considering enumerator
272 bool hasLeadingSpace() const { return getFlag(LeadingSpace); } in hasLeadingSpace()
/external/clang/include/clang/Lex/
DToken.h76 LeadingSpace = 0x02, // Whitespace exists before this token (considering enumerator
269 bool hasLeadingSpace() const { return getFlag(LeadingSpace); } in hasLeadingSpace()
/external/angle/src/tests/preprocessor_tests/
Dspace_test.cpp84 TEST_F(SpaceTest, LeadingSpace) in TEST_F() argument
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseOverrideCheck.cpp194 if ((Tokens[Tokens.size() - 2].getFlags() & Token::LeadingSpace) == 0) in check()
/external/clang/lib/Parse/
DParseStmtAsm.cpp475 Tok.clearFlag(Token::LeadingSpace); in ParseMicrosoftAsmStatement()
/external/llvm-project/clang/lib/Parse/
DParseStmtAsm.cpp478 Tok.clearFlag(Token::LeadingSpace); in ParseMicrosoftAsmStatement()
/external/clang/docs/
DInternalsManual.rst619 #. **LeadingSpace** --- There was a space character either immediately before
/external/llvm-project/clang/docs/
DInternalsManual.rst644 #. **LeadingSpace** --- There was a space character either immediately before