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.cpp941 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
947 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
957 Module *M = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
970 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp711 static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in HandlePragmaVisibility()
719 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in HandlePragmaPack()
739 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaMSStruct()
747 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaAlign()
827 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFPContract()
859 uintptr_t Value = reinterpret_cast<uintptr_t>(Tok.getAnnotationValue()); in HandlePragmaFloatControl()
872 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvAccess()
894 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaFEnvRound()
903 reinterpret_cast<uintptr_t>(Tok.getAnnotationValue())); in HandlePragmaCXLimitedRange()
962 OpenCLExtData *Data = static_cast<OpenCLExtData*>(Tok.getAnnotationValue()); in HandlePragmaOpenCLExtension()
[all …]
H A DParser.cpp667 Module *Mod = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseTopLevelDecl()
685 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl()
693 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl()
1664 Id = static_cast<TemplateIdAnnotation *>(tok.getAnnotationValue()); in takeTemplateIdAnnotation()
2450 HeaderUnit = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseModuleImport()
2590 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2602 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2611 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
H A DParseTentative.cpp889 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in TryParseDeclarator()
1328 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isCXXDeclarationSpecifier()
1992 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isExplicitBool()
H A DParseInit.cpp386 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in createEmbedExpr()
H A DParseTemplate.cpp529 static_cast<TemplateIdAnnotation *>(T.getAnnotationValue()); in isTypeConstraintAnnotation()
607 static_cast<TemplateIdAnnotation *>(Tok.getAnnotationValue()); in ParseTypeParameter()
H A DParseExprCXX.cpp118 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
3235 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseRequiresExpression()
3334 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in ParseRequiresExpression()
H A DParseDecl.cpp3278 static_cast<TemplateIdAnnotation *>(AfterScope.getAnnotationValue()); in DiagnoseMissingSemiAfterTagDefinition()
3296 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in DiagnoseMissingSemiAfterTagDefinition()
3558 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseDeclarationSpecifiers()
3633 static_cast<TemplateIdAnnotation *>(Next.getAnnotationValue()) in ParseDeclarationSpecifiers()
5704 Tok.getAnnotationValue() != nullptr) { in ParseTopLevelStmtDecl()
H A DParseExpr.cpp3144 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in injectEmbedTokens()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DToken.h236 void *getAnnotationValue() const { in getAnnotationValue() function
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h328 if (!Tok.getAnnotationValue()) in getTypeAnnotation()
330 return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue()); in getTypeAnnotation()
734 return static_cast<NamedDecl *>(Tok.getAnnotationValue()); in getNonTypeAnnotation()
742 return static_cast<IdentifierInfo *>(Tok.getAnnotationValue()); in getIdentifierAnnotation()
752 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.cpp5254 auto *Info = static_cast<PragmaLoopHintInfo *>(Tok.getAnnotationValue()); in AddToken()
5264 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in AddToken()