forked from OSchip/llvm-project
[Syntax] Silence "unused function" warning in no-assert builds. NFC
A helper `isImpicitExpr` is only used inside assert.
This commit is contained in:
parent
c44a9b538d
commit
96065cf79f
|
@ -21,12 +21,14 @@
|
|||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/FormatVariadic.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <map>
|
||||
|
||||
using namespace clang;
|
||||
|
||||
LLVM_ATTRIBUTE_UNUSED
|
||||
static bool isImplicitExpr(clang::Expr *E) { return E->IgnoreImplicit() != E; }
|
||||
|
||||
/// A helper class for constructing the syntax tree while traversing a clang
|
||||
|
|
Loading…
Reference in New Issue