clang 19.0.0git
Macros
IndexDecl.cpp File Reference
#include "IndexingContext.h"
#include "clang/AST/ASTConcept.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/DeclVisitor.h"
#include "clang/Index/IndexDataConsumer.h"
#include "clang/Index/IndexSymbol.h"

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 21 of file IndexDecl.cpp.

◆ TRY_TO

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

Definition at line 28 of file IndexDecl.cpp.