OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASTNodeKind
(Results
1 - 10
of
10
) sorted by null
/external/clang/lib/AST/
ASTTypeTraits.cpp
23
const
ASTNodeKind
::KindInfo
ASTNodeKind
::AllKindInfo[] = {
42
bool
ASTNodeKind
::isBaseOf(
ASTNodeKind
Other, unsigned *Distance) const {
46
bool
ASTNodeKind
::isSame(
ASTNodeKind
Other) const {
50
bool
ASTNodeKind
::isBaseOf(NodeKindId Base, NodeKindId Derived,
63
StringRef
ASTNodeKind
::asStringRef() const { return AllKindInfo[KindId].Name; }
65
ASTNodeKind
ASTNodeKind
::getMostDerivedType(ASTNodeKind Kind1
[
all
...]
/external/clang/include/clang/AST/
ASTTypeTraits.h
46
class
ASTNodeKind
{
49
ASTNodeKind
() : KindId(NKI_None) {}
53
static
ASTNodeKind
getFromNodeKind() {
54
return
ASTNodeKind
(KindToKindId<T>::Id);
59
static
ASTNodeKind
getFromNode(const Decl &D);
60
static
ASTNodeKind
getFromNode(const Stmt &S);
61
static
ASTNodeKind
getFromNode(const Type &T);
65
bool isSame(
ASTNodeKind
Other) const;
67
/// \brief Returns \c true only for the default \c
ASTNodeKind
()
73
bool isBaseOf(
ASTNodeKind
Other, unsigned *Distance = nullptr) const
[
all
...]
/external/clang/unittests/AST/
ASTTypeTraitsTest.cpp
20
TEST(
ASTNodeKind
, NoKind) {
21
EXPECT_FALSE(
ASTNodeKind
().isBaseOf(
ASTNodeKind
()));
22
EXPECT_FALSE(
ASTNodeKind
().isSame(
ASTNodeKind
()));
25
template <typename T> static
ASTNodeKind
DNT() {
26
return
ASTNodeKind
::getFromNodeKind<T>();
29
TEST(
ASTNodeKind
, IsNone) {
30
EXPECT_TRUE(
ASTNodeKind
().isNone());
35
TEST(
ASTNodeKind
, Bases)
[
all
...]
/external/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h
46
ArgKind(ast_type_traits::
ASTNodeKind
MatcherKind)
50
ast_type_traits::
ASTNodeKind
getMatcherKind() const {
74
ast_type_traits::
ASTNodeKind
MatcherKind;
96
MatcherOps(ast_type_traits::
ASTNodeKind
NodeKind) : NodeKind(NodeKind) {}
117
ast_type_traits::
ASTNodeKind
NodeKind;
130
virtual bool isConvertibleTo(ast_type_traits::
ASTNodeKind
Kind,
187
bool isConvertibleTo(ast_type_traits::
ASTNodeKind
Kind,
226
: MatcherOps(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>()) {}
/external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h
65
return ArgKind(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
122
virtual void getArgKinds(ast_type_traits::
ASTNodeKind
ThisKind, unsigned ArgNo,
133
ast_type_traits::
ASTNodeKind
Kind, unsigned *Specificity = nullptr,
134
ast_type_traits::
ASTNodeKind
*LeastDerivedKind = nullptr) const = 0;
142
ArrayRef<ast_type_traits::
ASTNodeKind
> RetKinds,
143
ast_type_traits::
ASTNodeKind
Kind, unsigned *Specificity,
144
ast_type_traits::
ASTNodeKind
*LeastDerivedKind) {
145
for (const ast_type_traits::
ASTNodeKind
&NodeKind : RetKinds) {
177
ArrayRef<ast_type_traits::
ASTNodeKind
> RetKinds,
191
void getArgKinds(ast_type_traits::
ASTNodeKind
ThisKind, unsigned ArgNo
[
all
...]
Registry.cpp
373
const std::set<
ASTNodeKind
> &KS) {
375
for (std::set<
ASTNodeKind
>::const_iterator I = KS.begin(), E = KS.end();
392
ASTNodeKind
InitialTypes[] = {
393
ASTNodeKind
::getFromNodeKind<Decl>(),
394
ASTNodeKind
::getFromNodeKind<QualType>(),
395
ASTNodeKind
::getFromNodeKind<Type>(),
396
ASTNodeKind
::getFromNodeKind<Stmt>(),
397
ASTNodeKind
::getFromNodeKind<NestedNameSpecifier>(),
398
ASTNodeKind
::getFromNodeKind<NestedNameSpecifierLoc>(),
399
ASTNodeKind
::getFromNodeKind<TypeLoc>()}
[
all
...]
VariantValue.cpp
101
bool isConvertibleTo(ast_type_traits::
ASTNodeKind
Kind,
159
bool isConvertibleTo(ast_type_traits::
ASTNodeKind
Kind,
202
bool isConvertibleTo(ast_type_traits::
ASTNodeKind
Kind,
/external/clang/lib/ASTMatchers/
ASTMatchersInternal.cpp
135
RestrictKind = ast_type_traits::
ASTNodeKind
::getMostDerivedType(
163
ast_type_traits::
ASTNodeKind
NodeKind) {
168
ast_type_traits::
ASTNodeKind
Kind) const {
173
const ast_type_traits::
ASTNodeKind
Kind) const {
177
ast_type_traits::
ASTNodeKind
::getMostDerivedType(Kind, RestrictKind);
216
bool DynTypedMatcher::canConvertTo(ast_type_traits::
ASTNodeKind
To) const {
218
auto QualKind = ast_type_traits::
ASTNodeKind
::getFromNodeKind<QualType>();
219
auto TypeKind = ast_type_traits::
ASTNodeKind
::getFromNodeKind<Type>();
ASTMatchFinder.cpp
566
getFilterForKind(ast_type_traits::
ASTNodeKind
Kind) {
742
llvm::DenseMap<ast_type_traits::
ASTNodeKind
, std::vector<unsigned short>>
[
all
...]
/external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h
263
SupportedKind(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>()),
289
static DynTypedMatcher trueMatcher(ast_type_traits::
ASTNodeKind
NodeKind);
296
bool canMatchNodesOfKind(ast_type_traits::
ASTNodeKind
Kind) const;
300
DynTypedMatcher dynCastTo(const ast_type_traits::
ASTNodeKind
Kind) const;
326
typedef std::pair<ast_type_traits::
ASTNodeKind
, uint64_t> MatcherIDType;
338
ast_type_traits::
ASTNodeKind
getSupportedKind() const {
348
return canConvertTo(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
350
bool canConvertTo(ast_type_traits::
ASTNodeKind
To) const;
369
DynTypedMatcher(ast_type_traits::
ASTNodeKind
SupportedKind,
370
ast_type_traits::
ASTNodeKind
RestrictKind
[
all
...]
Completed in 98 milliseconds