Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h371 SourceLocation IfLoc) { in Elifdef() argument
395 SourceLocation IfLoc) { in Elifndef() argument
633 SourceLocation IfLoc) override { in Elifdef() argument
634 First->Elifdef(Loc, ConditionRange, IfLoc); in Elifdef()
635 Second->Elifdef(Loc, ConditionRange, IfLoc); in Elifdef()
653 SourceLocation IfLoc) override { in Elifndef() argument
654 First->Elifndef(Loc, ConditionRange, IfLoc); in Elifndef()
660 First->Else(Loc, IfLoc); in Else()
661 Second->Else(Loc, IfLoc); in Else()
666 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.h104 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
H A DToken.h317 SourceLocation IfLoc; member
/freebsd-13.1/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.cpp577 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
605 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
637 CondInfo.IfLoc); in SkipExcludedConditionalBlock()
3184 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
3209 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
3217 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
3223 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective()
3260 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifFamilyDirective()
3263 Callbacks->Elifdef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective()
3266 Callbacks->Elifndef(ElifToken.getLocation(), ConditionRange, CI.IfLoc); in HandleElifFamilyDirective()
[all …]
H A DLexer.cpp2809 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp86 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
216 SourceLocation IfLoc) { in Elif() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1344 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1381 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1413 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement()
1497 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h176 SourceLocation IfLoc; in alignas() local
2066 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc()
2067 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp861 StmtResult Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, in ActOnIfStmt() argument
871 IfLoc), in ActOnIfStmt()
890 Diags.Report(IfLoc, in ActOnIfStmt()
892 << SourceRange(IfLoc, LParenLoc.getLocWithOffset(-1)); in ActOnIfStmt()
911 return BuildIfStmt(IfLoc, IsConstexpr, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
915 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument
926 return IfStmt::Create(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
H A DTreeTransform.h1323 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument
1327 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, LParenLoc, Init, Cond, in RebuildIfStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4693 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr,
4697 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2178 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()