Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
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()
DStmt.h645 SourceLocation KeywordLoc; variable
649 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
662 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc()
663 void setKeywordLoc(SourceLocation L) { KeywordLoc = L; } in setKeywordLoc()
672 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
699 SourceLocation getCaseLoc() const { return KeywordLoc; } in getCaseLoc()
700 void setCaseLoc(SourceLocation L) { KeywordLoc = L; } in setCaseLoc()
722 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
756 SourceLocation getDefaultLoc() const { return KeywordLoc; } in getDefaultLoc()
757 void setDefaultLoc(SourceLocation L) { KeywordLoc = L; } in setDefaultLoc()
[all …]
/external/clang/lib/Parse/
DParseDecl.cpp811 SourceLocation KeywordLoc = ConsumeToken(); in ParseAvailabilityAttribute() local
815 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
818 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
858 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute()
859 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
861 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
865 Changes[Index].KeywordLoc = KeywordLoc; in ParseAvailabilityAttribute()
869 Diag(KeywordLoc, diag::err_availability_unknown_change) in ParseAvailabilityAttribute()
887 if (Changes[Index].KeywordLoc.isValid()) { in ParseAvailabilityAttribute()
890 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
DParseInit.cpp488 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsBraceInitializer()
DParseDeclCXX.cpp2973 SourceLocation KeywordLoc = ConsumeToken(); in tryParseExceptionSpecification() local
2983 NoexceptExpr = Actions.ActOnBooleanCondition(getCurScope(), KeywordLoc, in tryParseExceptionSpecification()
2986 NoexceptRange = SourceRange(KeywordLoc, T.getCloseLocation()); in tryParseExceptionSpecification()
2990 NoexceptRange = SourceRange(KeywordLoc, KeywordLoc); in tryParseExceptionSpecification()
3478 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsClassDeclaration()
DParseExprCXX.cpp2085 SourceLocation KeywordLoc = ConsumeToken(); in ParseUnqualifiedIdOperator() local
2166 Result.setOperatorFunctionId(KeywordLoc, Op, SymbolLocations); in ParseUnqualifiedIdOperator()
2241 Result.setLiteralOperatorId(II, KeywordLoc, SuffixLoc); in ParseUnqualifiedIdOperator()
2273 Result.setConversionFunctionId(KeywordLoc, Ty.get(), in ParseUnqualifiedIdOperator()
DParser.cpp1799 Result.KeywordLoc = ConsumeToken(); in ParseMicrosoftIfExistsCondition()
1830 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
DParseStmt.cpp2099 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
/external/clang/lib/Sema/
DSemaTemplateInstantiate.cpp759 QualType RebuildElaboratedType(SourceLocation KeywordLoc,
992 TemplateInstantiator::RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
999 SourceLocation TagLocation = KeywordLoc; in RebuildElaboratedType()
1018 return TreeTransform<TemplateInstantiator>::RebuildElaboratedType(KeywordLoc, in RebuildElaboratedType()
DSemaStmt.cpp3291 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc, in BuildMSDependentExistsStmt() argument
3297 return new (Context) MSDependentExistsStmt(KeywordLoc, IsIfExists, in BuildMSDependentExistsStmt()
3303 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc, in ActOnMSDependentExistsStmt() argument
3308 return BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in ActOnMSDependentExistsStmt()
DSemaTemplate.cpp7868 SourceLocation KeywordLoc, in CheckTypenameType() argument
7917 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
7961 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
DTreeTransform.h833 QualType RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
891 SourceLocation KeywordLoc, in RebuildDependentNameType() argument
907 return SemaRef.CheckTypenameType(Keyword, KeywordLoc, QualifierLoc, in RebuildDependentNameType()
971 SemaRef.Diag(KeywordLoc, diag::err_use_with_wrong_tag) << Id; in RebuildDependentNameType()
1627 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc, in RebuildMSDependentExistsStmt() argument
1632 return getSema().BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in RebuildMSDependentExistsStmt()
DSemaExprCXX.cpp6064 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc, in CheckMicrosoftIfExistsSymbol() argument
6074 DiagnoseUnexpandedParameterPacks(KeywordLoc, in CheckMicrosoftIfExistsSymbol()
DSemaDeclCXX.cpp6657 static void DiagnoseNamespaceInlineMismatch(Sema &S, SourceLocation KeywordLoc, in DiagnoseNamespaceInlineMismatch() argument
6687 << FixItHint::CreateInsertion(KeywordLoc, "inline "); in DiagnoseNamespaceInlineMismatch()
/external/clang/include/clang/Sema/
DAttributeList.h37 SourceLocation KeywordLoc; member
DSema.h3711 CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,
3715 StmtResult BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
3720 StmtResult ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
5551 SourceLocation KeywordLoc,
/external/clang/include/clang/Parse/
DParser.h1630 SourceLocation KeywordLoc; member
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1173 S->KeywordLoc = ReadSourceLocation(Record, Idx); in VisitMSDependentExistsStmt()