Home
last modified time | relevance | path

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

/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp943 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
949 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in PrintPreprocessedTokens()
959 Module *M = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
972 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in PrintPreprocessedTokens()
/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.cpp680 Module *Mod = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseTopLevelDecl()
698 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl()
706 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in ParseTopLevelDecl()
1742 Id = static_cast<TemplateIdAnnotation *>(tok.getAnnotationValue());
2584 HeaderUnit = reinterpret_cast<Module *>(Tok.getAnnotationValue()); in ParseModuleImport()
2736 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2748 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
2757 reinterpret_cast<Module *>(Tok.getAnnotationValue())); in parseMisplacedModuleImport()
H A DParseTemplate.cpp611 static_cast<TemplateIdAnnotation *>(T.getAnnotationValue()); in TryAnnotateTypeConstraint()
706 static_cast<TemplateIdAnnotation *>(Tok.getAnnotationValue()); in ParseTypeParameter()
H A DParseTentative.cpp1109 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in TryParseDeclarator()
1659 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isCXXDeclarationSpecifier()
2379 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in isExplicitBool()
H A DParseInit.cpp434 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in createEmbedExpr()
H A DParseExprCXX.cpp170 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
3728 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseRequiresExpression()
3828 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in ParseRequiresExpression()
H A DParseDecl.cpp3510 static_cast<TemplateIdAnnotation *>(AfterScope.getAnnotationValue()); in DiagnoseMissingSemiAfterTagDefinition()
3528 Tok.getAnnotationValue(), Tok.getAnnotationRange(), SS); in DiagnoseMissingSemiAfterTagDefinition()
3817 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseDeclarationSpecifiers()
3892 static_cast<TemplateIdAnnotation *>(Next.getAnnotationValue()) in ParseDeclarationSpecifiers()
6032 Tok.getAnnotationValue() != nullptr) { in isDeclarationSpecifier()
H A DParseExpr.cpp3643 reinterpret_cast<EmbedAnnotationData *>(Tok.getAnnotationValue()); in ParseExpressionList()
/llvm-project/clang/include/clang/Lex/
H A DToken.h234 void *getAnnotationValue() const { in getAnnotationValue() function
/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()
/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp66 {Tok.getLocation(), (Module *)Tok.getAnnotationValue()}); in handleModuleBegin()
/llvm-project/clang/docs/
H A DClangRepl.rst600 Tok.getAnnotationValue() != nullptr) {
/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5198 auto *Info = static_cast<PragmaLoopHintInfo *>(Tok.getAnnotationValue()); in WriteSpecialDeclRecords()
5208 static_cast<Sema::PragmaPackInfo *>(Tok.getAnnotationValue()); in WriteSpecialDeclRecords()