Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h393 SourceLocation IfLoc) { in Elifdef() argument
417 SourceLocation IfLoc) { in Elifndef() argument
669 SourceLocation IfLoc) override { in Elifdef() argument
670 First->Elifdef(Loc, ConditionRange, IfLoc); in Elifdef()
671 Second->Elifdef(Loc, ConditionRange, IfLoc); in Elifdef()
689 SourceLocation IfLoc) override { in Elifndef() argument
690 First->Elifndef(Loc, ConditionRange, IfLoc); in Elifndef()
696 First->Else(Loc, IfLoc); in Else()
697 Second->Else(Loc, IfLoc); in Else()
702 First->Endif(Loc, IfLoc); in Endif()
[all …]
H A DPPConditionalDirectiveRecord.h91 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
99 SourceLocation IfLoc) override;
103 SourceLocation IfLoc) override;
104 void Else(SourceLocation Loc, SourceLocation IfLoc) override;
105 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
H A DPreprocessorLexer.h96 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
H A DToken.h324 SourceLocation IfLoc; member
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp99 SourceLocation IfLoc) { in Elif() argument
127 SourceLocation IfLoc) { in Else() argument
133 SourceLocation IfLoc) { in Endif() argument
H A DPPDirectives.cpp681 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
712 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
751 CondInfo.IfLoc); in SkipExcludedConditionalBlock()
3422 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
3447 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
3455 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
3461 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective()
3515 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifFamilyDirective()
3518 Callbacks->Elifdef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective()
3521 Callbacks->Elifndef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective()
[all …]
H A DLexer.cpp3105 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp83 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
210 SourceLocation IfLoc) { in Elif() argument
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h205 SourceLocation IfLoc; in alignas() local
2302 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc()
2303 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1491 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1545 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1577 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement()
1700 return Actions.ActOnIfStmt(IfLoc, Kind, LParen, InitStmt.get(), Cond, RParen, in ParseIfStatement()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp885 StmtResult Sema::ActOnIfStmt(SourceLocation IfLoc, in ActOnIfStmt() argument
916 Diags.Report(IfLoc, in ActOnIfStmt()
919 << SourceRange(IfLoc, (ConstevalOrNegatedConsteval in ActOnIfStmt()
951 Diags.Report(IfLoc, diag::warn_consteval_if_always_true) << Immediate; in ActOnIfStmt()
954 return BuildIfStmt(IfLoc, StatementKind, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
958 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, in BuildIfStmt() argument
971 return IfStmt::Create(Context, IfLoc, StatementKind, InitStmt, in BuildIfStmt()
H A DTreeTransform.h1394 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt() argument
1398 return getSema().ActOnIfStmt(IfLoc, Kind, LParenLoc, Init, Cond, RParenLoc, in RebuildIfStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5204 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
5208 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2392 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()