Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPPCallbacks.h204 SourceLocation IfLoc) { in Elif() argument
222 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
228 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
352 SourceLocation IfLoc) { in Elif() argument
353 First->Elif(Loc, ConditionRange, IfLoc); in Elif()
354 Second->Elif(Loc, ConditionRange, IfLoc); in Elif()
370 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
371 First->Else(Loc, IfLoc); in Else()
372 Second->Else(Loc, IfLoc); in Else()
376 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
[all …]
DPreprocessingRecord.h606 SourceLocation IfLoc);
609 virtual void Else(SourceLocation Loc, SourceLocation IfLoc);
610 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc);
DPreprocessorLexer.h100 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
DToken.h275 SourceLocation IfLoc; member
/external/clang/lib/Lex/
DPPDirectives.cpp241 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
338 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
365 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
400 CondInfo.IfLoc); in SkipExcludedConditionalBlock()
2057 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
2082 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
2085 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElseDirective()
2116 SourceRange(ConditionalBegin, ConditionalEnd), CI.IfLoc); in HandleElifDirective()
2119 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true, in HandleElifDirective()
DPreprocessingRecord.cpp496 SourceLocation IfLoc) { in Elif() argument
501 void PreprocessingRecord::Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
506 void PreprocessingRecord::Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
DPTHLexer.cpp151 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
DLexer.cpp2384 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/external/clang/include/clang/AST/
DStmt.h850 SourceLocation IfLoc; variable
888 SourceLocation getIfLoc() const { return IfLoc; } in getIfLoc()
889 void setIfLoc(SourceLocation L) { IfLoc = L; } in setIfLoc()
895 return SourceRange(IfLoc, SubExprs[ELSE]->getLocEnd()); in getSourceRange()
897 return SourceRange(IfLoc, SubExprs[THEN]->getLocEnd()); in getSourceRange()
/external/clang/lib/Parse/
DParseStmt.cpp865 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
892 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true)) in ParseIfStatement()
895 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc)); in ParseIfStatement()
986 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(), in ParseIfStatement()
/external/clang/lib/Sema/
DSemaStmt.cpp388 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, in ActOnIfStmt() argument
396 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true); in ActOnIfStmt()
413 return Owned(new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
DTreeTransform.h1066 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, in RebuildIfStmt() argument
1069 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else); in RebuildIfStmt()
/external/clang/lib/AST/
DStmt.cpp846 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL) in IfStmt()
/external/clang/include/clang/Sema/
DSema.h2513 StmtResult ActOnIfStmt(SourceLocation IfLoc,