Home
last modified time | relevance | path

Searched refs:getAnnotationValue (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp944 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 DParsePragma.cpp722 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 DParser.cpp685 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 DParseTentative.cpp1109 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in TryParseDeclarator()
1659 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isCXXDeclarationSpecifier()
2375 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isExplicitBool()
H A DParseInit.cpp434 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in createEmbedExpr()
H A DParseTemplate.cpp599 static_cast<TemplateIdAnnotation *>(T.getAnnotationValue()); in isTypeConstraintAnnotation()
694 static_cast<TemplateIdAnnotation *>(Tok.getAnnotationValue()); in ParseTypeParameter()
H A DParseExprCXX.cpp170 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
3707 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseRequiresExpression()
3807 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in ParseRequiresExpression()
H A DParseDecl.cpp3475 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 DParseExpr.cpp3606 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in injectEmbedTokens()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h234 void *getAnnotationValue() const { in getAnnotationValue() function
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h878 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 DInclusionRewriter.cpp66 {Tok.getLocation(), (Module *)Tok.getAnnotationValue()}); in handleModuleBegin()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4718 auto *Info = static_cast<PragmaLoopHintInfo *>(Tok.getAnnotationValue()); in AddToken()
4728 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in AddToken()