Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPPCallbacks.h290 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument
312 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
318 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
477 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument
478 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
479 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
497 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument
498 First->Else(Loc, IfLoc); in Else()
499 Second->Else(Loc, IfLoc); in Else()
503 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument
[all …]
DPPConditionalDirectiveRecord.h92 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
97 void Else(SourceLocation Loc, SourceLocation IfLoc) override;
98 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
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.cpp282 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
379 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
406 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
434 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
2306 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
2331 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
2334 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective()
2366 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
2369 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
DPTHLexer.cpp144 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
DLexer.cpp2507 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/external/clang/lib/Parse/
DParseStmt.cpp1067 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1094 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
1097 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); in ParseIfStatement()
1181 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
/external/clang/include/clang/AST/
DStmt.h871 SourceLocation IfLoc; variable
910 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc()
911 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc()
915 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; } in getLocStart()
/external/clang/lib/Sema/
DSemaStmt.cpp442 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
457 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
474 return new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
DTreeTransform.h1116 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, in RebuildIfStmt() argument
1119 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
/external/clang/lib/AST/
DStmt.cpp824 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) in IfStmt()
/external/clang/include/clang/Sema/
DSema.h3020 StmtResult ActOnIfStmt(SourceLocation IfLoc,