Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPPCallbacks.h343 ConditionValueKind ConditionValue, SourceLocation IfLoc) { in Elif() argument
365 virtual void Else(SourceLocation Loc, SourceLocation IfLoc) { in Else() argument
371 virtual void Endif(SourceLocation Loc, SourceLocation IfLoc) { in Endif() argument
577 ConditionValueKind ConditionValue, SourceLocation IfLoc) override { in Elif() argument
578 First->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
579 Second->Elif(Loc, ConditionRange, ConditionValue, IfLoc); in Elif()
597 void Else(SourceLocation Loc, SourceLocation IfLoc) override { in Else() argument
598 First->Else(Loc, IfLoc); in Else()
599 Second->Else(Loc, IfLoc); in Else()
603 void Endif(SourceLocation Loc, SourceLocation IfLoc) override { in Endif() argument
[all …]
H A DPPConditionalDirectiveRecord.h91 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
96 void Else(SourceLocation Loc, SourceLocation IfLoc) override;
97 void Endif(SourceLocation Loc, SourceLocation IfLoc) override;
H A DPreprocessorLexer.h95 CI.IfLoc = DirectiveStart; in pushConditionalLevel()
H A DToken.h317 SourceLocation IfLoc; member
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp99 SourceLocation IfLoc) { in Elif() argument
105 SourceLocation IfLoc) { in Else() argument
111 SourceLocation IfLoc) { in Endif() argument
H A DPPDirectives.cpp569 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
596 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
627 CondInfo.IfLoc); in SkipExcludedConditionalBlock()
3113 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()
3138 Callbacks->Else(Result.getLocation(), CI.IfLoc); in HandleElseDirective()
3146 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
3152 SkipExcludedConditionalBlock(HashToken.getLocation(), CI.IfLoc, in HandleElseDirective()
3183 PPCallbacks::CVK_NotEvaluated, CI.IfLoc); in HandleElifDirective()
3198 HashToken.getLocation(), CI.IfLoc, /*Foundnonskip*/ true, in HandleElifDirective()
H A DLexer.cpp2775 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp86 ConditionValueKind ConditionValue, SourceLocation IfLoc) override;
216 SourceLocation IfLoc) { in Elif() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1339 SourceLocation IfLoc = ConsumeToken(); // eat the 'if'. in ParseIfStatement() local
1376 if (ParseParenExprOrCondition(&InitStmt, Cond, IfLoc, in ParseIfStatement()
1408 MisleadingIndentationChecker MIChecker(*this, MSK_if, IfLoc); in ParseIfStatement()
1492 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h176 SourceLocation IfLoc; variable
2066 SourceLocation getIfLoc() const { return IfStmtBits.IfLoc; } in getIfLoc()
2067 void setIfLoc(SourceLocation IfLoc) { IfStmtBits.IfLoc = IfLoc; } in setIfLoc() argument
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp503 SourceLocation IfLoc = CurLoc; in ParseIfExpr() local
529 return std::make_unique<IfExprAST>(IfLoc, std::move(Cond), std::move(Then), in ParseIfExpr()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4662 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr,
4666 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp2178 AddSourceLocation(Cond.IfLoc, Record); in WritePreprocessor()