OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASTNodeKind
(Results
1 - 7
of
7
) sorted by null
/external/clang/include/clang/AST/
ASTTypeTraits.h
45
class
ASTNodeKind
{
48
ASTNodeKind
() : KindId(NKI_None) {}
52
static
ASTNodeKind
getFromNodeKind() {
53
return
ASTNodeKind
(KindToKindId<T>::Id);
57
bool isSame(
ASTNodeKind
Other) const;
62
bool isBaseOf(
ASTNodeKind
Other, unsigned *Distance = nullptr) const;
67
/// \brief Strict weak ordering for
ASTNodeKind
.
68
bool operator<(const
ASTNodeKind
&Other) const {
97
ASTNodeKind
(NodeKindId KindId) : KindId(KindId) {}
125
template <> struct
ASTNodeKind
::KindToKindId<Class> {
[
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
, Bases) {
37
TEST(
ASTNodeKind
, BaseDistances) {
50
TEST(
ASTNodeKind
, SameBase)
[
all
...]
/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; }
/external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h
44
ArgKind(ast_type_traits::
ASTNodeKind
MatcherKind)
60
ast_type_traits::
ASTNodeKind
getMatcherKind() const {
73
ast_type_traits::
ASTNodeKind
MatcherKind;
105
return ArgKind(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
141
virtual void getArgKinds(ast_type_traits::
ASTNodeKind
ThisKind, unsigned ArgNo,
152
ast_type_traits::
ASTNodeKind
Kind, unsigned *Specificity = nullptr,
153
ast_type_traits::
ASTNodeKind
*LeastDerivedKind = nullptr) const = 0;
161
ArrayRef<ast_type_traits::
ASTNodeKind
> RetKinds,
162
ast_type_traits::
ASTNodeKind
Kind, unsigned *Specificity,
163
ast_type_traits::
ASTNodeKind
*LeastDerivedKind)
[
all
...]
Registry.cpp
341
const std::set<
ASTNodeKind
> &KS) {
343
for (std::set<
ASTNodeKind
>::const_iterator I = KS.begin(), E = KS.end();
367
ASTNodeKind
InitialTypes[] = {
368
ASTNodeKind
::getFromNodeKind<Decl>(),
369
ASTNodeKind
::getFromNodeKind<QualType>(),
370
ASTNodeKind
::getFromNodeKind<Type>(),
371
ASTNodeKind
::getFromNodeKind<Stmt>(),
372
ASTNodeKind
::getFromNodeKind<NestedNameSpecifier>(),
373
ASTNodeKind
::getFromNodeKind<NestedNameSpecifierLoc>(),
374
ASTNodeKind
::getFromNodeKind<TypeLoc>(
[
all
...]
/external/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h
152
ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
/external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h
345
ast_type_traits::
ASTNodeKind
getSupportedKind() const {
356
ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
378
MatcherStorage(ast_type_traits::
ASTNodeKind
SupportedKind, uint64_t ID)
388
ast_type_traits::
ASTNodeKind
getSupportedKind() const {
395
const ast_type_traits::
ASTNodeKind
SupportedKind;
409
: MatcherStorage(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>(),
446
const ast_type_traits::
ASTNodeKind
SourceKind = getSupportedKind();
448
ast_type_traits::
ASTNodeKind
::getFromNodeKind<Type>()) ||
450
ast_type_traits::
ASTNodeKind
::getFromNodeKind<QualType>());
456
const ast_type_traits::
ASTNodeKind
SourceKind = getSupportedKind()
[
all
...]
Completed in 843 milliseconds