Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/tools/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.h629 SourceLocation KeywordLoc; variable
633 : Stmt(SC), NextSwitchCase(0), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {} in SwitchCase()
645 SourceLocation getKeywordLoc() const { return KeywordLoc; } in getKeywordLoc()
646 void setKeywordLoc(SourceLocation L) { KeywordLoc = L; } in setKeywordLoc()
655 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
682 SourceLocation getCaseLoc() const { return KeywordLoc; } in getCaseLoc()
683 void setCaseLoc(SourceLocation L) { KeywordLoc = L; } in setCaseLoc()
705 SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; } in getLocStart()
739 SourceLocation getDefaultLoc() const { return KeywordLoc; } in getDefaultLoc()
740 void setDefaultLoc(SourceLocation L) { KeywordLoc = L; } in setDefaultLoc()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParseDecl.cpp850 SourceLocation KeywordLoc = ConsumeToken(); in ParseAvailabilityAttribute() local
854 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
857 UnavailableLoc = KeywordLoc; in ParseAvailabilityAttribute()
903 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute()
904 Diag(KeywordLoc, diag::err_availability_redundant) in ParseAvailabilityAttribute()
906 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
910 Changes[Index].KeywordLoc = KeywordLoc; in ParseAvailabilityAttribute()
914 Diag(KeywordLoc, diag::err_availability_unknown_change) in ParseAvailabilityAttribute()
936 if (Changes[Index].KeywordLoc.isValid()) { in ParseAvailabilityAttribute()
939 << SourceRange(Changes[Index].KeywordLoc, in ParseAvailabilityAttribute()
DParseInit.cpp506 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsBraceInitializer()
DParseDeclCXX.cpp2953 SourceLocation KeywordLoc = ConsumeToken(); in tryParseExceptionSpecification() local
2963 NoexceptExpr = Actions.ActOnBooleanCondition(getCurScope(), KeywordLoc, in tryParseExceptionSpecification()
2966 NoexceptRange = SourceRange(KeywordLoc, T.getCloseLocation()); in tryParseExceptionSpecification()
2970 NoexceptRange = SourceRange(KeywordLoc, KeywordLoc); in tryParseExceptionSpecification()
3418 Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) in ParseMicrosoftIfExistsClassDeclaration()
DParseExprCXX.cpp2029 SourceLocation KeywordLoc = ConsumeToken(); in ParseUnqualifiedIdOperator() local
2110 Result.setOperatorFunctionId(KeywordLoc, Op, SymbolLocations); in ParseUnqualifiedIdOperator()
2185 Result.setLiteralOperatorId(II, KeywordLoc, SuffixLoc); in ParseUnqualifiedIdOperator()
2216 Result.setConversionFunctionId(KeywordLoc, Ty.get(), in ParseUnqualifiedIdOperator()
DParser.cpp1853 Result.KeywordLoc = ConsumeToken(); in ParseMicrosoftIfExistsCondition()
1884 switch (Actions.CheckMicrosoftIfExistsSymbol(getCurScope(), Result.KeywordLoc, in ParseMicrosoftIfExistsCondition()
DParseStmt.cpp2694 StmtResult DepResult = Actions.ActOnMSDependentExistsStmt(Result.KeywordLoc, in ParseMicrosoftIfExistsStatement()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaTemplateInstantiate.cpp851 QualType RebuildElaboratedType(SourceLocation KeywordLoc,
1086 TemplateInstantiator::RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
1093 SourceLocation TagLocation = KeywordLoc; in RebuildElaboratedType()
1112 return TreeTransform<TemplateInstantiator>::RebuildElaboratedType(KeywordLoc, in RebuildElaboratedType()
DSemaStmt.cpp3165 StmtResult Sema::BuildMSDependentExistsStmt(SourceLocation KeywordLoc, in BuildMSDependentExistsStmt() argument
3171 return new (Context) MSDependentExistsStmt(KeywordLoc, IsIfExists, in BuildMSDependentExistsStmt()
3177 StmtResult Sema::ActOnMSDependentExistsStmt(SourceLocation KeywordLoc, in ActOnMSDependentExistsStmt() argument
3182 return BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in ActOnMSDependentExistsStmt()
DSemaTemplate.cpp7731 SourceLocation KeywordLoc, in CheckTypenameType() argument
7780 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
7824 SourceRange FullRange(KeywordLoc.isValid() ? KeywordLoc : SS.getBeginLoc(), in CheckTypenameType()
DTreeTransform.h826 QualType RebuildElaboratedType(SourceLocation KeywordLoc, in RebuildElaboratedType() argument
883 SourceLocation KeywordLoc, in RebuildDependentNameType() argument
899 return SemaRef.CheckTypenameType(Keyword, KeywordLoc, QualifierLoc, in RebuildDependentNameType()
964 SemaRef.Diag(KeywordLoc, diag::err_use_with_wrong_tag) << Id; in RebuildDependentNameType()
1464 StmtResult RebuildMSDependentExistsStmt(SourceLocation KeywordLoc, in RebuildMSDependentExistsStmt() argument
1469 return getSema().BuildMSDependentExistsStmt(KeywordLoc, IsIfExists, in RebuildMSDependentExistsStmt()
DSemaExprCXX.cpp6070 Sema::CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc, in CheckMicrosoftIfExistsSymbol() argument
6080 DiagnoseUnexpandedParameterPacks(KeywordLoc, in CheckMicrosoftIfExistsSymbol()
DSemaDeclCXX.cpp6447 static void DiagnoseNamespaceInlineMismatch(Sema &S, SourceLocation KeywordLoc, in DiagnoseNamespaceInlineMismatch() argument
6478 << FixItHint::CreateInsertion(KeywordLoc, "inline "); in DiagnoseNamespaceInlineMismatch()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DAttributeList.h36 SourceLocation KeywordLoc; member
DSema.h3574 CheckMicrosoftIfExistsSymbol(Scope *S, SourceLocation KeywordLoc,
3578 StmtResult BuildMSDependentExistsStmt(SourceLocation KeywordLoc,
3583 StmtResult ActOnMSDependentExistsStmt(SourceLocation KeywordLoc,
5436 SourceLocation KeywordLoc,
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Parse/
DParser.h1544 SourceLocation KeywordLoc; member
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTReaderStmt.cpp1175 S->KeywordLoc = ReadSourceLocation(Record, Idx); in VisitMSDependentExistsStmt()