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

Completed in 414 milliseconds