Home
last modified time | relevance | path

Searched refs:ArgKind (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h48 static ArgKind getKind() {
49 return ArgKind(ArgKind::AK_String);
64 static ArgKind getKind() {
65 return ArgKind(ast_type_traits::ASTNodeKind::getFromNodeKind<T>());
74 static ArgKind getKind() {
75 return ArgKind(ArgKind::AK_Unsigned);
95 static ArgKind getKind() {
96 return ArgKind(ArgKind::AK_String);
123 std::vector<ArgKind> &ArgKinds) const = 0;
146 if (ArgKind(NodeKind).isConvertibleTo(Kind, Specificity)) {
[all …]
DVariantValue.cpp23 std::string ArgKind::asString() const { in asString()
35 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo()
103 return ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
164 if (ArgKind(Matcher.getSupportedKind()) in isConvertibleTo()
343 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo()
345 case ArgKind::AK_Unsigned: in isConvertibleTo()
351 case ArgKind::AK_String: in isConvertibleTo()
357 case ArgKind::AK_Matcher: in isConvertibleTo()
365 bool VariantValue::isConvertibleTo(ArrayRef<ArgKind> Kinds, in isConvertibleTo()
368 for (const ArgKind& Kind : Kinds) { in isConvertibleTo()
DRegistry.cpp419 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
432 std::set<ArgKind> TypeSet(std::begin(InitialTypes), std::end(InitialTypes)); in getAcceptedCompletionTypes()
436 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes()
437 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes()
446 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes()
450 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
461 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions()
463 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions()
488 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions()
495 for (const ArgKind &AK : Arg) { in getMatcherCompletions()
[all …]
DParser.cpp262 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
264 return std::vector<ArgKind>(); in getAcceptedCompletionTypes()
268 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
449 ArrayRef<ArgKind> AcceptedTypes) { in getNamedValueCompletions()
547 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
553 ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
/external/clang/include/clang/ASTMatchers/Dynamic/
DVariantValue.h35 class ArgKind {
43 ArgKind(Kind K) : K(K) { assert(K != AK_Matcher); } in ArgKind() function
46 ArgKind(ast_type_traits::ASTNodeKind MatcherKind) in ArgKind() function
61 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
63 bool operator<(const ArgKind &Other) const {
285 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const;
295 bool isConvertibleTo(ArrayRef<ArgKind> Kinds, unsigned *Specificity) const;
DParser.h106 virtual std::vector<ArgKind> getAcceptedCompletionTypes(
119 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes);
137 std::vector<ArgKind> getAcceptedCompletionTypes(
141 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override;
241 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
DRegistry.h78 static std::vector<ArgKind> getAcceptedCompletionTypes(
91 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
/external/llvm/include/llvm/IR/
DIntrinsics.h97 enum ArgKind { enum
111 ArgKind getArgumentKind() const { in getArgumentKind()
116 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h142 enum ArgKind { enum
161 ArgKind Kind;
/external/clang/include/clang/AST/
DTemplateBase.h42 enum ArgKind { enum
215 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; } in getKind()
/external/clang/include/clang/Sema/
DAttributeList.h274 IdentifierLoc *ArgKind, ParsedType matchingCType, in AttributeList() argument
281 ArgsUnion PVal(ArgKind); in AttributeList()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2783 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
2785 ArgKind classifyArgument(Value* arg) { in classifyArgument()
2825 ArgKind AK = classifyArgument(A); in visitCallSite()
3065 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
3067 ArgKind classifyArgument(Value* arg) { in classifyArgument()
3095 ArgKind AK = classifyArgument(A); in visitCallSite()
/external/clang/include/clang/Serialization/
DASTWriter.h677 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
DASTReader.h1585 GetTemplateArgumentLocInfo(ModuleFile &F, TemplateArgument::ArgKind Kind,
/external/clang/lib/Serialization/
DASTReader.cpp6145 TemplateArgument::ArgKind Kind, in GetTemplateArgumentLocInfo()
7786 TemplateArgument::ArgKind Kind = (TemplateArgument::ArgKind)Record[Idx++]; in ReadTemplateArgument()
DASTWriter.cpp4832 void ASTWriter::AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind, in AddTemplateArgumentLocInfo()