Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/tests/preprocessor_tests/
Dspace_test.cpp24 EXPECT_TRUE(token.hasLeadingSpace()); in expectSpace()
92 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
96 EXPECT_FALSE(token.hasLeadingSpace()); in TEST_F()
100 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
105 EXPECT_FALSE(token.hasLeadingSpace()); in TEST_F()
Dtoken_test.cpp69 EXPECT_FALSE(token.hasLeadingSpace()); in TEST()
71 EXPECT_TRUE(token.hasLeadingSpace()); in TEST()
73 EXPECT_FALSE(token.hasLeadingSpace()); in TEST()
Dcomment_test.cpp55 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
/external/clang/lib/Lex/
DTokenLexer.cpp39 HasLeadingSpace = Tok.hasLeadingSpace(); in Init()
104 HasLeadingSpace = TokArray[0].hasLeadingSpace(); in Init()
216 if (CurTok.hasLeadingSpace() || NextTokGetsSpace) in ExpandFunctionArguments()
307 CurTok.hasLeadingSpace() || in ExpandFunctionArguments()
313 NextTokGetsSpace = CurTok.hasLeadingSpace(); in ExpandFunctionArguments()
362 if ((CurTok.hasLeadingSpace() || NextTokGetsSpace) && in ExpandFunctionArguments()
374 NextTokGetsSpace |= CurTok.hasLeadingSpace(); in ExpandFunctionArguments()
378 NextTokGetsSpace |= Tokens[i+1].hasLeadingSpace(); in ExpandFunctionArguments()
389 NextTokGetsSpace |= ResultToks.back().hasLeadingSpace(); in ExpandFunctionArguments()
645 Result.setFlagValue(Token::LeadingSpace, Tok.hasLeadingSpace()); in PasteTokens()
DMacroInfo.cpp101 A.hasLeadingSpace() != B.hasLeadingSpace())) in isIdenticalTo()
DPPMacroExpansion.cpp319 bool HadLeadingSpace = Identifier.hasLeadingSpace(); in HandleMacroExpandedIdentifier()
349 bool hasLeadingSpace = Identifier.hasLeadingSpace(); in HandleMacroExpandedIdentifier() local
356 Identifier.setFlagValue(Token::LeadingSpace, hasLeadingSpace); in HandleMacroExpandedIdentifier()
DMacroArgs.cpp212 if (!isFirst && (Tok.hasLeadingSpace() || Tok.isAtStartOfLine())) in StringifyArgument()
DPreprocessor.cpp201 if (Tok.hasLeadingSpace()) in DumpToken()
DPPDirectives.cpp1295 if (CurTok.hasLeadingSpace()) in ConcatenateIncludeName()
1830 } else if (Tok.hasLeadingSpace()) { in HandleDefineDirective()
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DToken.cpp76 if (token.hasLeadingSpace()) in operator <<()
DToken.h75 bool hasLeadingSpace() const { return (flags & HAS_LEADING_SPACE) != 0; } in hasLeadingSpace() function
DMacroExpander.cpp235 repl.setHasLeadingSpace(identifier.hasLeadingSpace()); in expandMacro()
365 replacements->at(iRepl).setHasLeadingSpace(repl.hasLeadingSpace()); in replaceMacroParams()
DDirectiveParser.cpp356 if (token->type == '(' && !token->hasLeadingSpace()) in parseDefine()
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp63 if (MI.tokens_empty() || !MI.tokens_begin()->hasLeadingSpace()) in PrintMacroDefinition()
69 if (I->hasLeadingSpace()) in PrintMacroDefinition()
581 if (PragmaTok.hasLeadingSpace()) in HandlePragma()
612 } else if (Tok.hasLeadingSpace() || in PrintPreprocessedTokens()
/external/clang/include/clang/Lex/
DToken.h236 bool hasLeadingSpace() const { return (Flags & LeadingSpace) ? true : false; } in hasLeadingSpace() function
/external/clang/lib/Rewrite/Frontend/
DRewriteMacros.cpp169 bool HasSpace = RawTok.hasLeadingSpace(); in RewriteMacrosInInput()
/external/clang/lib/Rewrite/Core/
DHTMLRewrite.cpp557 if (Tok.hasLeadingSpace() || in HighlightMacros()
/external/clang/lib/Parse/
DParseStmt.cpp1918 if (!isNewStatement && Tok.hasLeadingSpace()) in buildMSAsmString()