clang API Documentation

Classes | Namespaces
VariantValue.h File Reference

Polymorphic value type. More...

#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/Twine.h"
#include <memory>
#include <vector>
Include dependency graph for VariantValue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::ast_matchers::dynamic::ArgKind
 Kind identifier. More...
class  clang::ast_matchers::dynamic::VariantMatcher
 A variant matcher object. More...
class  clang::ast_matchers::dynamic::VariantMatcher::MatcherOps
 Methods that depend on T from hasTypedMatcher/getTypedMatcher.
class  clang::ast_matchers::dynamic::VariantMatcher::Payload
 Payload interface to be specialized by each matcher type.
struct  clang::ast_matchers::dynamic::final< T >
class  clang::ast_matchers::dynamic::VariantValue
 Variant value class. More...
union  clang::ast_matchers::dynamic::VariantValue::AllValues
 All supported value types.

Namespaces

namespace  clang
namespace  clang::ast_matchers
namespace  clang::ast_matchers::dynamic

Detailed Description

Polymorphic value type.

Supports all the types required for dynamic Matcher construction. Used by the registry to construct matchers in a generic way.

Definition in file VariantValue.h.