Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPCallbacks.h315 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument
337 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
343 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
531 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
532 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
550 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument
551 First->Else(Loc, IfLoc); in Else()
552 Second->Else(Loc, IfLoc); in Else()
556 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument
557 First->Endif(Loc, IfLoc); in Endif()
[all …]
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 DPreprocessorLexer.h97 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
H A DToken.h315 SourceLocation IfLoc; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp102 SourceLocation IfLoc) { in Elif() argument
108 SourceLocation IfLoc) { in Else() argument
114 SourceLocation IfLoc) { in Endif() argument
H A DPPDirectives.cpp498 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
525 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
553 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
2855 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
2880 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
2885 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
2891 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective()
2925 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
2937 HashToken.getLocation(), CI.IfLoc, /*Foundnonskip*/ true, in HandleElifDirective()
H A DLexer.cpp2738 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h172 SourceLocation IfLoc; in alignas() local
1846 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc()
1847 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp1152 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1187 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1290 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp538 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument
547 IfLoc), in ActOnIfStmt()
560 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt()
564 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument
577 return IfStmt::Create(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
H A DTreeTransform.h1256 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument
1259 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3761 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr,
3765 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp2467 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()