Home
last modified time | relevance | path

Searched refs:KeywordLoc (Results 1 – 18 of 18) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDStmtCXX.h235 SourceLocation KeywordLoc; variable
245 MSDependentExistsStmt(SourceLocation KeywordLoc, bool IsIfExists, in MSDependentExistsStmt() argument
250 KeywordLoc(KeywordLoc), IsIfExists(IsIfExists), in MSDependentExistsStmt()
256 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc()
278 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
HDStmt.h656 SourceLocation KeywordLoc; variable
660 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
673 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc()
674 void setKeywordLoc(SourceLocation L) { KeywordLoc = L; } in setKeywordLoc()
683 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
710 SourceLocation getCaseLoc() const { return KeywordLoc; } in getCaseLoc()
711 void setCaseLoc(SourceLocation L) { KeywordLoc = L; } in setCaseLoc()
733 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
767 SourceLocation getDefaultLoc() const { return KeywordLoc; } in getDefaultLoc()
768 void setDefaultLoc(SourceLocation L) { KeywordLoc = L; } in setDefaultLoc()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseDecl.cpp904 SourceLocation KeywordLoc = ConsumeToken(); in ParseAvailabilityAttribute() local
908 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
911 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
951 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
975 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute()
976 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
978 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
982 Changes[Index].KeywordLoc = KeywordLoc; in ParseAvailabilityAttribute()
986 Diag(KeywordLoc, diag::err_availability_unknown_change) in ParseAvailabilityAttribute()
1004 if (Changes[Index].KeywordLoc.isValid()) { in ParseAvailabilityAttribute()
[all …]
HDParseInit.cpp504 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsBraceInitializer()
HDParseDeclCXX.cpp3340 SourceLocation KeywordLoc = ConsumeToken(); in tryParseExceptionSpecification() local
3351 NoexceptExpr = Actions.ActOnBooleanCondition(getCurScope(), KeywordLoc, in tryParseExceptionSpecification()
3353 NoexceptRange = SourceRange(KeywordLoc, T.getCloseLocation()); in tryParseExceptionSpecification()
3360 NoexceptRange = SourceRange(KeywordLoc, KeywordLoc); in tryParseExceptionSpecification()
3852 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsClassDeclaration()
HDParseExprCXX.cpp2142 SourceLocation KeywordLoc = ConsumeToken(); in ParseUnqualifiedIdOperator() local
2223 Result.setOperatorFunctionId(KeywordLoc, Op, SymbolLocations); in ParseUnqualifiedIdOperator()
2298 Result.setLiteralOperatorId(II, KeywordLoc, SuffixLoc); in ParseUnqualifiedIdOperator()
2330 Result.setConversionFunctionId(KeywordLoc, Ty.get(), in ParseUnqualifiedIdOperator()
HDParser.cpp1854 Result.KeywordLoc = ConsumeToken(); in ParseMicrosoftIfExistsCondition()
1886 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
HDParseStmt.cpp2111 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateInstantiate.cpp757 QualType RebuildElaboratedType(SourceLocation KeywordLoc,
976 TemplateInstantiator::RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
983 SourceLocation TagLocation = KeywordLoc; in RebuildElaboratedType()
1002 return TreeTransform<TemplateInstantiator>::RebuildElaboratedType(KeywordLoc, in RebuildElaboratedType()
HDSemaStmt.cpp3701 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc, in BuildMSDependentExistsStmt() argument
3707 return new (Context) MSDependentExistsStmt(KeywordLoc, IsIfExists, in BuildMSDependentExistsStmt()
3713 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc, in ActOnMSDependentExistsStmt() argument
3718 return BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in ActOnMSDependentExistsStmt()
HDSemaTemplate.cpp8101 SourceLocation KeywordLoc, in CheckTypenameType() argument
8150 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
8195 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
HDTreeTransform.h876 QualType RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
934 SourceLocation KeywordLoc, in RebuildDependentNameType() argument
950 return SemaRef.CheckTypenameType(Keyword, KeywordLoc, QualifierLoc, in RebuildDependentNameType()
1014 SemaRef.Diag(KeywordLoc, diag::err_use_with_wrong_tag) << Id; in RebuildDependentNameType()
1707 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc, in RebuildMSDependentExistsStmt() argument
1712 return getSema().BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in RebuildMSDependentExistsStmt()
HDSemaExprCXX.cpp6758 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc, in CheckMicrosoftIfExistsSymbol() argument
6768 DiagnoseUnexpandedParameterPacks(KeywordLoc, in CheckMicrosoftIfExistsSymbol()
HDSemaDeclCXX.cpp7126 static void DiagnoseNamespaceInlineMismatch(Sema &S, SourceLocation KeywordLoc, in DiagnoseNamespaceInlineMismatch() argument
7156 << FixItHint::CreateInsertion(KeywordLoc, "inline "); in DiagnoseNamespaceInlineMismatch()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDAttributeList.h37 SourceLocation KeywordLoc; member
HDSema.h3977 CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,
3981 StmtResult BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
3986 StmtResult ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
5839 SourceLocation KeywordLoc,
/NextBSD/contrib/llvm/tools/clang/include/clang/Parse/
HDParser.h1693 SourceLocation KeywordLoc; member
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.cpp1184 S->KeywordLoc = ReadSourceLocation(Record, Idx); in VisitMSDependentExistsStmt()