Home
last modified time | relevance | path

Searched refs:hasLeadingSpace (Results 1 – 25 of 39) sorted by relevance

12

/external/angle/src/tests/preprocessor_tests/
Dspace_test.cpp31 EXPECT_TRUE(token.hasLeadingSpace()); in expectSpace()
93 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
97 EXPECT_FALSE(token.hasLeadingSpace()); in TEST_F()
101 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
106 EXPECT_FALSE(token.hasLeadingSpace()); in TEST_F()
Dtoken_test.cpp72 EXPECT_FALSE(token.hasLeadingSpace()); in TEST()
74 EXPECT_TRUE(token.hasLeadingSpace()); in TEST()
76 EXPECT_FALSE(token.hasLeadingSpace()); in TEST()
Dcomment_test.cpp53 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
/external/clang/lib/Lex/
DMacroInfo.cpp102 A.hasLeadingSpace() != B.hasLeadingSpace())) in isIdenticalTo()
161 if (First || Tok.hasLeadingSpace()) in dump()
DTokenLexer.cpp39 HasLeadingSpace = Tok.hasLeadingSpace(); in Init()
104 HasLeadingSpace = TokArray[0].hasLeadingSpace(); in Init()
186 if (i != 0 && !Tokens[i-1].is(tok::hashhash) && CurTok.hasLeadingSpace()) in ExpandFunctionArguments()
663 Result.setFlagValue(Token::LeadingSpace, Tok.hasLeadingSpace()); in PasteTokens()
856 HasLeadingSpace = Result.hasLeadingSpace(); in PropagateLineStartLeadingSpaceInfo()
DMacroArgs.cpp211 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp105 A.hasLeadingSpace() != B.hasLeadingSpace())) in isIdenticalTo()
163 if (First || Tok.hasLeadingSpace()) in dump()
DTokenLexer.cpp51 HasLeadingSpace = Tok.hasLeadingSpace(); in Init()
120 HasLeadingSpace = TokArray[0].hasLeadingSpace(); in Init()
262 if (I != 0 && !Tokens[I-1].is(tok::hashhash) && CurTok.hasLeadingSpace()) in ExpandFunctionArguments()
886 Result.setFlagValue(Token::LeadingSpace, LHSTok.hasLeadingSpace()); in pasteTokens()
1078 HasLeadingSpace = Result.hasLeadingSpace(); in PropagateLineStartLeadingSpaceInfo()
DMacroArgs.cpp225 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DPreprocessor.cpp244 if (Tok.hasLeadingSpace()) in DumpToken()
1003 bool LeadingSpace = FilenameTok.hasLeadingSpace(); in LexHeaderName()
1033 if (FilenameTok.hasLeadingSpace()) in LexHeaderName()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp63 if (MI.tokens_empty() || !MI.tokens_begin()->hasLeadingSpace()) in PrintMacroDefinition()
68 if (T.hasLeadingSpace()) in PrintMacroDefinition()
528 if (ColNo == 1 && Tok.hasLeadingSpace()) in HandleFirstTokOnLine()
608 if (PragmaTok.hasLeadingSpace() || in HandlePragma()
647 } else if (Tok.hasLeadingSpace() || in PrintPreprocessedTokens()
/external/angle/src/compiler/preprocessor/
DToken.cpp70 if (token.hasLeadingSpace()) in operator <<()
DToken.h80 bool hasLeadingSpace() const { return (flags & HAS_LEADING_SPACE) != 0; } in hasLeadingSpace() function
DMacroExpander.cpp342 repl.setHasLeadingSpace(identifier.hasLeadingSpace()); in expandMacro()
505 replacements->at(iRepl).setHasLeadingSpace(repl.hasLeadingSpace()); in replaceMacroParams()
/external/llvm-project/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp62 if (MI.tokens_empty() || !MI.tokens_begin()->hasLeadingSpace()) in PrintMacroDefinition()
67 if (T.hasLeadingSpace()) in PrintMacroDefinition()
611 if (ColNo == 1 && Tok.hasLeadingSpace()) in HandleFirstTokOnLine()
692 if (PragmaTok.hasLeadingSpace() || in HandlePragma()
731 } else if (Tok.hasLeadingSpace() || in PrintPreprocessedTokens()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DToken.cpp84 if (token.hasLeadingSpace()) in operator <<()
DToken.h85 bool hasLeadingSpace() const { return (flags & HAS_LEADING_SPACE) != 0; } in hasLeadingSpace() function
DMacroExpander.cpp348 repl.setHasLeadingSpace(identifier.hasLeadingSpace()); in expandMacro()
509 replacements->at(iRepl).setHasLeadingSpace(repl.hasLeadingSpace()); in replaceMacroParams()
/external/llvm-project/clang/lib/CodeGen/
DMacroPPCallbacks.cpp53 if (!First && T.hasLeadingSpace()) in writeMacroDefinition()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp168 bool HasSpace = RawTok.hasLeadingSpace(); in RewriteMacrosInInput()
/external/clang/include/clang/Lex/
DToken.h269 bool hasLeadingSpace() const { return getFlag(LeadingSpace); } in hasLeadingSpace() function
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp169 bool HasSpace = RawTok.hasLeadingSpace(); in RewriteMacrosInInput()
/external/llvm-project/clang/include/clang/Lex/
DToken.h272 bool hasLeadingSpace() const { return getFlag(LeadingSpace); } in hasLeadingSpace() function
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp557 if (Tok.hasLeadingSpace() || in HighlightMacros()
/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp644 if (Tok.hasLeadingSpace() || in HighlightMacros()

12