OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASTNodeKind
(Results
1 - 6
of
6
) sorted by null
/external/clang/unittests/AST/
ASTTypeTraitsTest.cpp
17
TEST(
ASTNodeKind
, NoKind) {
18
EXPECT_FALSE(
ASTNodeKind
().isBaseOf(
ASTNodeKind
()));
19
EXPECT_FALSE(
ASTNodeKind
().isSame(
ASTNodeKind
()));
22
template <typename T> static
ASTNodeKind
DNT() {
23
return
ASTNodeKind
::getFromNodeKind<T>();
26
TEST(
ASTNodeKind
, Bases) {
34
TEST(
ASTNodeKind
, SameBase) {
41
TEST(
ASTNodeKind
, DiffBase)
[
all
...]
/external/clang/lib/AST/
ASTTypeTraits.cpp
21
const
ASTNodeKind
::KindInfo
ASTNodeKind
::AllKindInfo[] = {
40
bool
ASTNodeKind
::isBaseOf(
ASTNodeKind
Other) const {
44
bool
ASTNodeKind
::isSame(
ASTNodeKind
Other) const {
48
bool
ASTNodeKind
::isBaseOf(NodeKindId Base, NodeKindId Derived) {
55
StringRef
ASTNodeKind
::asStringRef() const { return AllKindInfo[KindId].Name; }
/external/clang/include/clang/AST/
ASTTypeTraits.h
36
class
ASTNodeKind
{
39
ASTNodeKind
() : KindId(NKI_None) {}
43
static
ASTNodeKind
getFromNodeKind() {
44
return
ASTNodeKind
(KindToKindId<T>::Id);
48
bool isSame(
ASTNodeKind
Other) const;
51
bool isBaseOf(
ASTNodeKind
Other) const;
81
ASTNodeKind
(NodeKindId KindId) : KindId(KindId) {}
107
template <> struct
ASTNodeKind
::KindToKindId<Class> { \
136
/// See \c
ASTNodeKind
for which node base types are currently supported;
187
if (
ASTNodeKind
::getFromNodeKind<QualType>().isBaseOf(NodeKind))
[
all
...]
/external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h
232
virtual ast_type_traits::
ASTNodeKind
getSupportedKind() const = 0;
277
.isBaseOf(ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>());
312
ast_type_traits::
ASTNodeKind
getSupportedKind() const {
313
return ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>();
404
ast_type_traits::
ASTNodeKind
SourceKind = Other.getSupportedKind();
407
ast_type_traits::
ASTNodeKind
::getFromNodeKind<Type>()) ||
409
ast_type_traits::
ASTNodeKind
::getFromNodeKind<QualType>());
416
ast_type_traits::
ASTNodeKind
SourceKind = Other.getSupportedKind();
418
ast_type_traits::
ASTNodeKind
::getFromNodeKind<Type>())) {
[
all
...]
/external/clang/unittests/ASTMatchers/Dynamic/
ParserTest.cpp
52
virtual ast_type_traits::
ASTNodeKind
getSupportedKind() const {
53
return ast_type_traits::
ASTNodeKind
();
/external/clang/lib/ASTMatchers/Dynamic/
Marshallers.h
59
ast_type_traits::
ASTNodeKind
::getFromNodeKind<T>().asStringRef() +
Completed in 410 milliseconds