Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/
H A DVariantValue.h34 class ArgKind {
45 ArgKind(Kind K) : K(K) { assert(K != AK_Matcher); } in ArgKind() function
48 static ArgKind MakeMatcherArg(ASTNodeKind MatcherKind) { in MakeMatcherArg()
49 return ArgKind{AK_Matcher, MatcherKind}; in MakeMatcherArg()
52 static ArgKind MakeNodeArg(ASTNodeKind MatcherKind) { in MakeNodeArg()
53 return ArgKind{AK_Node, MatcherKind}; in MakeNodeArg()
72 bool isConvertibleTo(ArgKind To, unsigned *Specificity) const;
74 bool operator<(const ArgKind &Other) const {
85 ArgKind(Kind K, ASTNodeKind NK) : K(K), NodeKind(NK) {} in ArgKind() function
312 bool isConvertibleTo(ArgKind Kind, unsigned* Specificity) const;
[all …]
H A DParser.h119 virtual std::vector<ArgKind> getAcceptedCompletionTypes(
132 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes);
150 std::vector<ArgKind> getAcceptedCompletionTypes(
163 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override;
266 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
H A DRegistry.h108 static std::vector<ArgKind> getAcceptedCompletionTypes(
121 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h70 static ArgKind getKind() {
71 return ArgKind(ArgKind::AK_String);
95 static ArgKind getKind() {
115 return ArgKind(ArgKind::AK_Boolean);
134 return ArgKind(ArgKind::AK_Double);
153 return ArgKind(ArgKind::AK_Unsigned);
185 return ArgKind(ArgKind::AK_String);
215 return ArgKind(ArgKind::AK_String);
237 static ArgKind getKind() { return ArgKind(ArgKind::AK_String); }
264 static ArgKind getKind() { return ArgKind(ArgKind::AK_String); }
[all …]
H A DVariantValue.cpp22 std::string ArgKind::asString() const { in asString()
40 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo()
112 return ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo()
424 case ArgKind::AK_Boolean: in isConvertibleTo()
430 case ArgKind::AK_Double: in isConvertibleTo()
436 case ArgKind::AK_Unsigned: in isConvertibleTo()
442 case ArgKind::AK_String: in isConvertibleTo()
448 case ArgKind::AK_Node: in isConvertibleTo()
453 case ArgKind::AK_Matcher: in isConvertibleTo()
461 bool VariantValue::isConvertibleTo(ArrayRef<ArgKind> Kinds, in isConvertibleTo()
[all …]
H A DRegistry.cpp646 std::vector<ArgKind> Registry::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
659 std::set<ArgKind> TypeSet; in getAcceptedCompletionTypes()
661 TypeSet.insert(ArgKind::MakeMatcherArg(IT)); in getAcceptedCompletionTypes()
666 std::vector<ArgKind> NextTypeSet; in getAcceptedCompletionTypes()
667 for (const ArgKind &Kind : TypeSet) { in getAcceptedCompletionTypes()
676 return std::vector<ArgKind>(TypeSet.begin(), TypeSet.end()); in getAcceptedCompletionTypes()
691 std::vector<std::vector<ArgKind>> ArgsKinds(NumArgs); in getMatcherCompletions()
694 for (const ArgKind& Kind : AcceptedTypes) { in getMatcherCompletions()
744 for (const std::vector<ArgKind> &Arg : ArgsKinds) { in getMatcherCompletions()
751 for (const ArgKind &AK : Arg) { in getMatcherCompletions()
[all …]
H A DParser.cpp325 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
331 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
748 ArrayRef<ArgKind> AcceptedTypes) { in getNamedValueCompletions()
847 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
853 ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIntrinsics.h157 enum ArgKind { enum
175 ArgKind getArgumentKind() const { in getArgumentKind()
181 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
/llvm-project-15.0.7/compiler-rt/lib/ubsan/
H A Dubsan_diag.h150 enum ArgKind { enum
169 ArgKind Kind;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateBase.h64 enum ArgKind {
244 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
H A DPropertiesBase.td138 def TemplateArgumentKind : EnumPropertyType<"TemplateArgument::ArgKind">;
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp5025 enum class ArgKind { enum
5047 return ArgKind::Indirect; in classifyArgument()
5049 return IsSoftFloatABI ? ArgKind::GeneralPurpose : ArgKind::FloatingPoint; in classifyArgument()
5053 return ArgKind::Vector; in classifyArgument()
5054 return ArgKind::Memory; in classifyArgument()
5099 AK = ArgKind::Memory; in visitCallBase()
5101 AK = ArgKind::Memory; in visitCallBase()
5103 AK = ArgKind::Memory; in visitCallBase()
5149 case ArgKind::Vector: { in visitCallBase()
5156 case ArgKind::Memory: { in visitCallBase()
[all …]
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTRecordWriter.h215 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
H A DASTRecordReader.h153 readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind);
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp630 DeclarationFragments::FragmentKind ArgKind = in getFragmentsForObjCProperty()
644 .append(Arg, ArgKind); in getFragmentsForObjCProperty()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h375 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr() argument
383 ArgsUnion PVal(ArgKind); in ParsedAttr()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypePrinter.cpp1931 const TemplateArgument::ArgKind &Kind = A.getArgument().getKind(); in printArgument()
1932 if (Kind == TemplateArgument::ArgKind::Type) in printArgument()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DPathDiagnostic.cpp898 if (TArg.getKind() == TemplateArgument::ArgKind::Pack) { in describeTemplateParameter()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp5317 TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) { in AddTemplateArgumentLocInfo()
H A DASTReader.cpp7187 ASTRecordReader::readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind) { in readTemplateArgumentLocInfo()