clang  6.0.0svn
Macros
IndexDecl.cpp File Reference
#include "IndexingContext.h"
#include "clang/Index/IndexDataConsumer.h"
#include "clang/AST/DeclVisitor.h"
Include dependency graph for IndexDecl.cpp:

Go to the source code of this file.

Macros

#define TRY_DECL(D, CALL_EXPR)
 
#define TRY_TO(CALL_EXPR)
 

Macro Definition Documentation

◆ TRY_DECL

#define TRY_DECL (   D,
  CALL_EXPR 
)
Value:
do { \
if (!IndexCtx.shouldIndex(D)) return true; \
if (!CALL_EXPR) \
return false; \
} while (0)

Definition at line 17 of file IndexDecl.cpp.

◆ TRY_TO

#define TRY_TO (   CALL_EXPR)
Value:
do { \
if (!CALL_EXPR) \
return false; \
} while (0)

Definition at line 24 of file IndexDecl.cpp.