| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 34 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 D | Parser.h | 119 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 D | Registry.h | 108 static std::vector<ArgKind> getAcceptedCompletionTypes( 121 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
|
| /openbsd-src/gnu/llvm/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 69 static ArgKind getKind() { 70 return ArgKind(ArgKind::AK_String); 94 static ArgKind getKind() { 95 return ArgKind::MakeMatcherArg(ASTNodeKind::getFromNodeKind<T>()); 113 static ArgKind getKind() { 114 return ArgKind(ArgKind::AK_Boolean); 132 static ArgKind getKind() { 133 return ArgKind(ArgKind::AK_Double); 151 static ArgKind getKind() { 152 return ArgKind(ArgKind::AK_Unsigned); [all …]
|
| H A D | VariantValue.cpp | 23 std::string ArgKind::asString() const { in asString() 41 bool ArgKind::isConvertibleTo(ArgKind To, unsigned *Specificity) const { in isConvertibleTo() 113 return ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 114 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), Specificity); in isConvertibleTo() 173 if (ArgKind::MakeMatcherArg(Matcher.getSupportedKind()) in isConvertibleTo() 174 .isConvertibleTo(ArgKind::MakeMatcherArg(Kind), in isConvertibleTo() 423 bool VariantValue::isConvertibleTo(ArgKind Kind, unsigned *Specificity) const { in isConvertibleTo() 425 case ArgKind::AK_Boolean: in isConvertibleTo() 431 case ArgKind::AK_Double: in isConvertibleTo() 437 case ArgKind::AK_Unsigned: in isConvertibleTo() [all …]
|
| H A D | Registry.cpp | 646 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() 680 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions() 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() [all …]
|
| H A D | Parser.cpp | 325 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Intrinsics.h | 152 enum ArgKind { enum 170 ArgKind getArgumentKind() const { in getArgumentKind() 176 return (ArgKind)(Argument_Info & 7); in getArgumentKind()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/ |
| H A D | ubsan_diag.h | 150 enum ArgKind { enum 169 ArgKind Kind;
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | TemplateBase.h | 63 enum ArgKind { 245 ArgKind getKind() const { return (ArgKind)TypeOrValue.Kind; }
|
| H A D | PropertiesBase.td | 138 def TemplateArgumentKind : EnumPropertyType<"TemplateArgument::ArgKind">;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 4609 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 4625 ArgKind classifyArgument(Value *arg) { in classifyArgument() 4681 ArgKind AK = classifyArgument(A); in visitCallBase() 4994 enum ArgKind { AK_GeneralPurpose, AK_FloatingPoint, AK_Memory }; enum 5000 ArgKind classifyArgument(Value *arg) { in classifyArgument() 5027 ArgKind AK = classifyArgument(A); in visitCallBase() 5425 enum class ArgKind { enum 5439 ArgKind classifyArgument(Type *T, bool IsSoftFloatABI) { in classifyArgument() 5447 return ArgKind::Indirect; in classifyArgument() 5449 return IsSoftFloatABI ? ArgKind::GeneralPurpose : ArgKind::FloatingPoint; in classifyArgument() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Serialization/ |
| H A D | ASTRecordWriter.h | 215 void AddTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind,
|
| H A D | ASTRecordReader.h | 153 readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind);
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 634 DeclarationFragments::FragmentKind ArgKind = in getFragmentsForObjCProperty() 648 .append(Arg, ArgKind); in getFragmentsForObjCProperty()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | ParsedAttr.h | 375 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr() argument 383 ArgsUnion PVal(ArgKind); in ParsedAttr()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | TypePrinter.cpp | 1933 const TemplateArgument::ArgKind &Kind = A.getArgument().getKind(); in printArgument() 1934 if (Kind == TemplateArgument::ArgKind::Type) in printArgument()
|
| H A D | ASTContext.cpp | 12322 case TemplateArgument::ArgKind::Type: in getCommonTemplateArgument() 12327 case TemplateArgument::ArgKind::NullPtr: in getCommonTemplateArgument() 12333 case TemplateArgument::ArgKind::Expression: in getCommonTemplateArgument() 12338 case TemplateArgument::ArgKind::Template: { in getCommonTemplateArgument() 12345 case TemplateArgument::ArgKind::TemplateExpansion: { in getCommonTemplateArgument()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | PathDiagnostic.cpp | 898 if (TArg.getKind() == TemplateArgument::ArgKind::Pack) { in describeTemplateParameter()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5488 TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) { in AddTemplateArgumentLocInfo()
|
| H A D | ASTReader.cpp | 7227 ASTRecordReader::readTemplateArgumentLocInfo(TemplateArgument::ArgKind Kind) { in readTemplateArgumentLocInfo()
|