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

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

Completed in 237 milliseconds