HomeSort by: relevance | last modified time | path
    Searched refs:ASTNodeKind (Results 1 - 17 of 17) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTTypeTraits.h 52 class ASTNodeKind {
55 ASTNodeKind() : KindId(NKI_None) {}
59 static ASTNodeKind getFromNodeKind() {
60 return ASTNodeKind(KindToKindId<T>::Id);
65 static ASTNodeKind getFromNode(const Decl &D);
66 static ASTNodeKind getFromNode(const Stmt &S);
67 static ASTNodeKind getFromNode(const Type &T);
68 static ASTNodeKind getFromNode(const OMPClause &C);
72 bool isSame(ASTNodeKind Other) const {
76 /// Returns \c true only for the default \c ASTNodeKind()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTTypeTraits.cpp 23 const ASTNodeKind::KindInfo ASTNodeKind::AllKindInfo[] = {
49 bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const {
53 bool ASTNodeKind::isBaseOf(NodeKindId Base, NodeKindId Derived,
66 ASTNodeKind ASTNodeKind::getCladeKind() const {
77 StringRef ASTNodeKind::asStringRef() const { return AllKindInfo[KindId].Name; }
79 ASTNodeKind ASTNodeKind::getMostDerivedType(ASTNodeKind Kind1
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h 48 static ArgKind MakeMatcherArg(ASTNodeKind MatcherKind) {
52 static ArgKind MakeNodeArg(ASTNodeKind MatcherKind) {
57 ASTNodeKind getMatcherKind() const {
61 ASTNodeKind getNodeKind() const {
85 ArgKind(Kind K, ASTNodeKind NK) : K(K), NodeKind(NK) {}
87 ASTNodeKind NodeKind;
109 MatcherOps(ASTNodeKind NodeKind) : NodeKind(NodeKind) {}
126 ASTNodeKind NodeKind;
139 virtual bool isConvertibleTo(ASTNodeKind Kind,
186 return hasTypedMatcher(ASTNodeKind::getFromNodeKind<T>())
    [all...]
Registry.h 86 static ASTNodeKind nodeMatcherType(MatcherCtor);
Parser.h 105 virtual ASTNodeKind nodeMatcherType(MatcherCtor) const = 0;
155 ASTNodeKind nodeMatcherType(MatcherCtor) const override;
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
Marshallers.h 96 return ArgKind::MakeMatcherArg(ASTNodeKind::getFromNodeKind<T>());
312 virtual ASTNodeKind nodeMatcherType() const { return ASTNodeKind(); }
333 virtual void getArgKinds(ASTNodeKind ThisKind, unsigned ArgNo,
344 isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity = nullptr,
345 ASTNodeKind *LeastDerivedKind = nullptr) const = 0;
352 inline bool isRetKindConvertibleTo(ArrayRef<ASTNodeKind> RetKinds,
353 ASTNodeKind Kind, unsigned *Specificity,
354 ASTNodeKind *LeastDerivedKind) {
355 for (const ASTNodeKind &NodeKind : RetKinds)
    [all...]
VariantValue.cpp 111 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
168 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
211 bool isConvertibleTo(ASTNodeKind Kind, unsigned *Specificity) const override {
274 VariantValue::VariantValue(ASTNodeKind NodeKind) : Type(VT_Nothing) {
396 const ASTNodeKind &VariantValue::getNodeKind() const {
401 void VariantValue::setNodeKind(ASTNodeKind NewValue) {
404 Value.NodeKind = new ASTNodeKind(NewValue);
Registry.cpp 577 ASTNodeKind Registry::nodeMatcherType(MatcherCtor Ctor) {
606 const std::set<ASTNodeKind> &KS) {
608 for (std::set<ASTNodeKind>::const_iterator I = KS.begin(), E = KS.end();
623 ASTNodeKind InitialTypes[] = {
624 ASTNodeKind::getFromNodeKind<Decl>(),
625 ASTNodeKind::getFromNodeKind<QualType>(),
626 ASTNodeKind::getFromNodeKind<Type>(),
627 ASTNodeKind::getFromNodeKind<Stmt>(),
628 ASTNodeKind::getFromNodeKind<NestedNameSpecifier>(),
629 ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>()
    [all...]
Parser.cpp 530 ASTNodeKind NK = S->nodeMatcherType(*MappedMatcher);
861 ASTNodeKind Parser::RegistrySema::nodeMatcherType(MatcherCtor Ctor) const {
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/
ASTDiff.h 44 ASTNodeKind getType() const;
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h 420 : SupportedKind(ASTNodeKind::getFromNodeKind<T>()),
448 constructVariadic(VariadicOperator Op, ASTNodeKind SupportedKind,
453 ASTNodeKind RestrictKind);
458 static DynTypedMatcher trueMatcher(ASTNodeKind NodeKind);
465 bool canMatchNodesOfKind(ASTNodeKind Kind) const;
469 DynTypedMatcher dynCastTo(const ASTNodeKind Kind) const;
500 using MatcherIDType = std::pair<ASTNodeKind, uint64_t>;
512 ASTNodeKind getSupportedKind() const { return SupportedKind; }
520 return canConvertTo(ASTNodeKind::getFromNodeKind<T>());
522 bool canConvertTo(ASTNodeKind To) const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp 197 ASTNodeKind SupportedKind,
220 ASTNodeKind::getMostDerivedType(RestrictKind, IM.RestrictKind);
253 ASTNodeKind RestrictKind) {
266 DynTypedMatcher DynTypedMatcher::trueMatcher(ASTNodeKind NodeKind) {
275 bool DynTypedMatcher::canMatchNodesOfKind(ASTNodeKind Kind) const {
279 DynTypedMatcher DynTypedMatcher::dynCastTo(const ASTNodeKind Kind) const {
282 Copy.RestrictKind = ASTNodeKind::getMostDerivedType(Kind, RestrictKind);
350 bool DynTypedMatcher::canConvertTo(ASTNodeKind To) const {
352 auto QualKind = ASTNodeKind::getFromNodeKind<QualType>();
353 auto TypeKind = ASTNodeKind::getFromNodeKind<Type>()
    [all...]
ASTMatchFinder.cpp 855 const std::vector<unsigned short> &getFilterForKind(ASTNodeKind Kind) {
1097 llvm::DenseMap<ASTNodeKind, std::vector<unsigned short>> MatcherFiltersMap;
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
RangeSelector.cpp 36 static Error typeError(StringRef ID, const ASTNodeKind &Kind) {
41 static Error typeError(StringRef ID, const ASTNodeKind &Kind,
RewriteRule.cpp 382 std::map<ASTNodeKind, SmallVector<std::pair<size_t, RewriteRule::Case>, 1>>
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRLocFinder.cpp 487 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind()))
  /src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
ASTDiff.cpp 687 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); }

Completed in 64 milliseconds