Searched refs:IfLoc (Results 1 - 15 of 15) sorted by relevance

/external/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h92 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
97 void Else(SourceLocation Loc, SourceLocation IfLoc) override;
98 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
H A DPPCallbacks.h287 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive.
290 ConditionValueKind ConditionValue, SourceLocation IfLoc) {
311 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive.
312 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { argument
317 /// \param IfLoc the source location of the \#if/\#ifdef/\#ifndef directive.
318 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { argument
474 ConditionValueKind ConditionValue, SourceLocation IfLoc) override {
475 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc);
476 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc);
494 void Else(SourceLocation Loc, SourceLocation IfLoc) overrid
289 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument
[all...]
H A DPreprocessorLexer.h100 CI.IfLoc = DirectiveStart;
H A DToken.h299 SourceLocation IfLoc; member in struct:clang::PPConditionalInfo
/external/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp102 SourceLocation IfLoc) {
108 SourceLocation IfLoc) {
114 SourceLocation IfLoc) {
99 Elif(SourceLocation Loc, SourceRange ConditionRange, ConditionValueKind ConditionValue, SourceLocation IfLoc) argument
107 Else(SourceLocation Loc, SourceLocation IfLoc) argument
113 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
H A DPPDirectives.cpp330 Diag(CurPPLexer->ConditionalStack.back().IfLoc,
427 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc);
454 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc);
482 (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc);
2449 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc);
2474 Callbacks->Else(Result.getLocation(), CI.IfLoc);
2477 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true,
2509 PPCallbacks::CVK_NotEvaluated, CI.IfLoc);
2512 SkipExcludedConditionalBlock(CI.IfLoc, /*Foundnonskip*/true,
H A DPTHLexer.cpp143 PP->Diag(ConditionalStack.back().IfLoc,
H A DLexer.cpp2504 PP->Diag(ConditionalStack.back().IfLoc,
/external/clang/lib/Parse/
H A DParseStmt.cpp1081 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. local
1108 if (ParseParenExprOrCondition(CondExp, CondVar, IfLoc, true))
1111 FullExprArg FullCondExp(Actions.MakeFullExpr(CondExp.get(), IfLoc));
1195 return Actions.ActOnIfStmt(IfLoc, FullCondExp, CondVar, ThenStmt.get(),
/external/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp505 SourceLocation IfLoc = CurLoc; local
531 return new IfExprAST(IfLoc, Cond, Then, Else);
/external/clang/include/clang/AST/
H A DStmt.h881 SourceLocation IfLoc; member in class:clang::IfStmt
920 SourceLocation getIfLoc() const { return IfLoc; }
921 void setIfLoc(SourceLocation L) { IfLoc = L; }
925 SourceLocation getLocStart() const LLVM_READONLY { return IfLoc; }
/external/clang/lib/Sema/
H A DSemaStmt.cpp482 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar, argument
497 CondResult = CheckConditionVariable(ConditionVar, IfLoc, true);
514 return new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr,
H A DTreeTransform.h1143 StmtResult RebuildIfStmt(SourceLocation IfLoc, Sema::FullExprArg Cond, argument
1146 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else);
/external/clang/lib/AST/
H A DStmt.cpp884 : Stmt(IfStmtClass), IfLoc(IL), ElseLoc(EL)
/external/clang/include/clang/Sema/
H A DSema.h3087 StmtResult ActOnIfStmt(SourceLocation IfLoc,

Completed in 1588 milliseconds