Searched refs:getAnnotationValue (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 944 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens() 950 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens() 959 Module *M = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens() 971 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 722 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaVisibility() 730 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in HandlePragmaPack() 750 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaMSStruct() 759 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaAlign() 839 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFPContract() 871 uintptr_t Value = reinterpret_cast<uintptr_t>(Tok.getAnnotationValue()); in HandlePragmaFloatControl() 884 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvAccess() 906 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvRound() 915 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaCXLimitedRange() 974 OpenCLExtData *Data = static_cast<OpenCLExtData*>(Tok.getAnnotationValue()); in HandlePragmaOpenCLExtension() [all …]
|
H A D | Parser.cpp | 685 Module *Mod = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseTopLevelDecl() 703 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl() 711 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl() 1747 Id = static_cast<TemplateIdAnnotation *>(tok.getAnnotationValue()); in takeTemplateIdAnnotation() 2582 HeaderUnit = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseModuleImport() 2735 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport() 2747 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport() 2756 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
|
H A D | ParseTentative.cpp | 1109 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in TryParseDeclarator() 1659 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isCXXDeclarationSpecifier() 2375 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isExplicitBool()
|
H A D | ParseInit.cpp | 434 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in createEmbedExpr()
|
H A D | ParseTemplate.cpp | 599 static_cast<TemplateIdAnnotation *>(T.getAnnotationValue()); in isTypeConstraintAnnotation() 694 static_cast<TemplateIdAnnotation *>(Tok.getAnnotationValue()); in ParseTypeParameter()
|
H A D | ParseExprCXX.cpp | 170 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier() 3707 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseRequiresExpression() 3807 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in ParseRequiresExpression()
|
H A D | ParseDecl.cpp | 3475 static_cast<TemplateIdAnnotation *>(AfterScope.getAnnotationValue()); in DiagnoseMissingSemiAfterTagDefinition() 3493 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in DiagnoseMissingSemiAfterTagDefinition() 3776 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseDeclarationSpecifiers() 3851 static_cast<TemplateIdAnnotation *>(Next.getAnnotationValue()) in ParseDeclarationSpecifiers() 5978 Tok.getAnnotationValue() != nullptr) { in ParseTopLevelStmtDecl()
|
H A D | ParseExpr.cpp | 3606 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in injectEmbedTokens()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Token.h | 234 void *getAnnotationValue() const { in getAnnotationValue() function
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 878 if (!Tok.getAnnotationValue()) in getTypeAnnotation() 880 return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue()); in getTypeAnnotation() 891 return static_cast<NamedDecl*>(Tok.getAnnotationValue()); in getNonTypeAnnotation() 899 return static_cast<IdentifierInfo*>(Tok.getAnnotationValue()); in getIdentifierAnnotation() 909 return ExprResult::getFromOpaquePointer(Tok.getAnnotationValue()); in getExprAnnotation()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 66 {Tok.getLocation(), (Module *)Tok.getAnnotationValue()}); in handleModuleBegin()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 4718 auto *Info = static_cast<PragmaLoopHintInfo *>(Tok.getAnnotationValue()); in AddToken() 4728 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in AddToken()
|