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.cpp390 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
403 std::set<ArgKind> TypeSet(std::begin(InitialTypes), std::end(InitialTypes)); in getAcceptedCompletionTypes()
407 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes()
408 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes()
417 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes()
421 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
431 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions()
433 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions()
458 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions()
465 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.h92 enum ArgKind { enum
106 ArgKind getArgumentKind() const { in getArgumentKind()
111 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
218 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/clang/include/clang/Serialization/
DASTWriter.h644 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
DASTReader.h1586 GetTemplateArgumentLocInfo(ModuleFile &F, TemplateArgument::ArgKind Kind,
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2704 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum
2706 ArgKind classifyArgument(Value* arg) { in classifyArgument()
2746 ArgKind AK = classifyArgument(A); in visitCallSite()
/external/clang/lib/Serialization/
DASTReader.cpp6081 TemplateArgument::ArgKind Kind, in GetTemplateArgumentLocInfo()
7854 TemplateArgument::ArgKind Kind = (TemplateArgument::ArgKind)Record[Idx++]; in ReadTemplateArgument()
DASTWriter.cpp4995 void ASTWriter::AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind, in AddTemplateArgumentLocInfo()