build: update to clang 3.8
* removed unsupported method from ASTVisitor after updating to clang 3.8
This commit is contained in:
@@ -68,21 +68,6 @@ bool ASTVisitor::VisitTranslationUnitDecl(clang::TranslationUnitDecl* decl)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ASTVisitor::shouldUseDataRecursionFor(clang::Stmt *s) const
|
||||
{
|
||||
if (s == NULL || !base::shouldUseDataRecursionFor(s))
|
||||
return false;
|
||||
if (clang::UnaryOperator *e = llvm::dyn_cast<clang::UnaryOperator>(s)) {
|
||||
return e->getOpcode() >= clang::UO_Plus &&
|
||||
e->getOpcode() <= clang::UO_Imag;
|
||||
}
|
||||
if (clang::BinaryOperator *e = llvm::dyn_cast<clang::BinaryOperator>(s)) {
|
||||
return e->getOpcode() >= clang::BO_Mul &&
|
||||
e->getOpcode() <= clang::BO_LOr;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Dispatcher routines
|
||||
|
||||
@@ -129,7 +129,6 @@ private:
|
||||
|
||||
// Misc routines
|
||||
bool shouldVisitTemplateInstantiations() const { return true; }
|
||||
bool shouldUseDataRecursionFor(clang::Stmt *s) const;
|
||||
bool shouldVisitImplicitCode() const { return true; }
|
||||
|
||||
// Dispatcher routines
|
||||
|
||||
Reference in New Issue
Block a user