Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DStmtCXX.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()
H A DStmt.h650 SourceLocation KeywordLoc; variable
654 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
667 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc()
668 void setKeywordLoc(SourceLocation L) { KeywordLoc = L; } in setKeywordLoc()
677 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
704 SourceLocation getCaseLoc() const { return KeywordLoc; } in getCaseLoc()
705 void setCaseLoc(SourceLocation L) { KeywordLoc = L; } in setCaseLoc()
727 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
761 SourceLocation getDefaultLoc() const { return KeywordLoc; } in getDefaultLoc()
762 void setDefaultLoc(SourceLocation L) { KeywordLoc = L; } in setDefaultLoc()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseInit.cpp490 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsBraceInitializer()
H A DParseDecl.cpp873 SourceLocation KeywordLoc = ConsumeToken(); in ParseAvailabilityAttribute() local
877 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
880 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
920 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
944 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute()
945 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
947 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
951 Changes[Index].KeywordLoc = KeywordLoc; in ParseAvailabilityAttribute()
955 Diag(KeywordLoc, diag::err_availability_unknown_change) in ParseAvailabilityAttribute()
973 if (Changes[Index].KeywordLoc.isValid()) { in ParseAvailabilityAttribute()
[all …]
H A DParseDeclCXX.cpp3180 SourceLocation KeywordLoc = ConsumeToken(); in tryParseExceptionSpecification() local
3190 NoexceptExpr = Actions.ActOnBooleanCondition(getCurScope(), KeywordLoc, in tryParseExceptionSpecification()
3193 NoexceptRange = SourceRange(KeywordLoc, T.getCloseLocation()); in tryParseExceptionSpecification()
3197 NoexceptRange = SourceRange(KeywordLoc, KeywordLoc); in tryParseExceptionSpecification()
3687 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsClassDeclaration()
H A DParseExprCXX.cpp2141 SourceLocation KeywordLoc = ConsumeToken(); in ParseUnqualifiedIdOperator() local
2222 Result.setOperatorFunctionId(KeywordLoc, Op, SymbolLocations); in ParseUnqualifiedIdOperator()
2297 Result.setLiteralOperatorId(II, KeywordLoc, SuffixLoc); in ParseUnqualifiedIdOperator()
2329 Result.setConversionFunctionId(KeywordLoc, Ty.get(), in ParseUnqualifiedIdOperator()
H A DParser.cpp1779 Result.KeywordLoc = ConsumeToken(); in ParseMicrosoftIfExistsCondition()
1811 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
H A DParseStmt.cpp2093 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp763 QualType RebuildElaboratedType(SourceLocation KeywordLoc,
1004 TemplateInstantiator::RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
1011 SourceLocation TagLocation = KeywordLoc; in RebuildElaboratedType()
1030 return TreeTransform<TemplateInstantiator>::RebuildElaboratedType(KeywordLoc, in RebuildElaboratedType()
H A DSemaStmt.cpp3395 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc, in BuildMSDependentExistsStmt() argument
3401 return new (Context) MSDependentExistsStmt(KeywordLoc, IsIfExists, in BuildMSDependentExistsStmt()
3407 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc, in ActOnMSDependentExistsStmt() argument
3412 return BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in ActOnMSDependentExistsStmt()
H A DSemaTemplate.cpp7991 SourceLocation KeywordLoc, in CheckTypenameType() argument
8040 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
8085 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
H A DTreeTransform.h860 QualType RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
918 SourceLocation KeywordLoc, in RebuildDependentNameType() argument
934 return SemaRef.CheckTypenameType(Keyword, KeywordLoc, QualifierLoc, in RebuildDependentNameType()
998 SemaRef.Diag(KeywordLoc, diag::err_use_with_wrong_tag) << Id; in RebuildDependentNameType()
1677 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc, in RebuildMSDependentExistsStmt() argument
1682 return getSema().BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in RebuildMSDependentExistsStmt()
H A DSemaExprCXX.cpp6408 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc, in CheckMicrosoftIfExistsSymbol() argument
6418 DiagnoseUnexpandedParameterPacks(KeywordLoc, in CheckMicrosoftIfExistsSymbol()
H A DSemaDeclCXX.cpp7030 static void DiagnoseNamespaceInlineMismatch(Sema &S, SourceLocation KeywordLoc, in DiagnoseNamespaceInlineMismatch() argument
7060 << FixItHint::CreateInsertion(KeywordLoc, "inline "); in DiagnoseNamespaceInlineMismatch()
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DAttributeList.h37 SourceLocation KeywordLoc; member
H A DSema.h3852 CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,
3856 StmtResult BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
3861 StmtResult ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
5733 SourceLocation KeywordLoc,
/minix/external/bsd/llvm/dist/clang/include/clang/Parse/
H A DParser.h1626 SourceLocation KeywordLoc; member
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp1174 S->KeywordLoc = ReadSourceLocation(Record, Idx); in VisitMSDependentExistsStmt()