Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPPCallbacks.h267 bool ConditionValue, SourceLocation IfLoc) { in Elif() argument
289 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
295 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
440 bool ConditionValue, SourceLocation IfLoc) { in Elif() argument
441 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
442 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
460 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
461 First->Else(Loc, IfLoc); in Else()
462 Second->Else(Loc, IfLoc); in Else()
466 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
[all …]
DPPConditionalDirectiveRecord.h92 bool ConditionValue, SourceLocation IfLoc);
97 virtual void Else(SourceLocation Loc, SourceLocation IfLoc);
98 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc);
DPreprocessorLexer.h100 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
DToken.h271 SourceLocation IfLoc; member
/external/clang/lib/Lex/
DPPConditionalDirectiveRecord.cpp102 SourceLocation IfLoc) { in Elif() argument
108 SourceLocation IfLoc) { in Else() argument
114 SourceLocation IfLoc) { in Endif() argument
DPPDirectives.cpp275 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
372 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
399 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
434 ShouldEnter, CondInfo.IfLoc); in SkipExcludedConditionalBlock()
2225 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
2250 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
2253 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective()
2285 true, CI.IfLoc); in HandleElifDirective()
2288 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
DPTHLexer.cpp150 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
DLexer.cpp2405 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/external/clang/include/clang/AST/
DStmt.h848 SourceLocation IfLoc; variable
886 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc()
887 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc()
891 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; } in getLocStart()
/external/clang/lib/Parse/
DParseStmt.cpp965 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
992 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
995 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); in ParseIfStatement()
1081 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
/external/clang/lib/Sema/
DSemaStmt.cpp432 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
447 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
464 return Owned(new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
DTreeTransform.h1093 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, in RebuildIfStmt() argument
1096 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
/external/clang/lib/AST/
DStmt.cpp826 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) in IfStmt()
/external/clang/include/clang/Sema/
DSema.h2822 StmtResult ActOnIfStmt(SourceLocation IfLoc,