diff --git a/README.md b/README.md index f3efba56..7540f9ba 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,19 @@ #### External Software -* QT 5.5 +* QT 5.6 * CxxTest 4.3 * Valgrind 3.9.0 (linux) -* Clang & LLVM (doesnt quite work for windows, use unix setup below and skip all the ninja stuff)(installation guide http://clang.llvm.org/docs/LibASTMatchersTutorial.html) +* Clang & LLVM 3.8 (doesnt quite work for windows, use unix setup below and skip all the ninja stuff)(installation guide http://clang.llvm.org/docs/LibASTMatchersTutorial.html) * Boost 1.59 * Eigen 3.2.6 * Botan 1.11.24 #### Environment Variables -* QT_DIR - ...\Qt\Qt5.2.1\5.2.1\\ -* CXX_TEST_DIR - .../cxxtest-4.3/ -* CLANG_DIR - .../clang-llvm/ +* QT_DIR - .../Qt/Qt5.6.0/5.6/ +* CXX_TEST_DIR - .../cxxtest-4.3 +* CLANG_DIR - .../clang-llvm * BOOST_159_DIR - .../boost_1_59_0 * EIGEN_DIR - .../eigen * BOTAN_DIR - .../Botan-1.11.24 diff --git a/src/lib_parser/data/parser/cxx/ASTVisitor.cpp b/src/lib_parser/data/parser/cxx/ASTVisitor.cpp index a9a3e51b..02bfb8b4 100644 --- a/src/lib_parser/data/parser/cxx/ASTVisitor.cpp +++ b/src/lib_parser/data/parser/cxx/ASTVisitor.cpp @@ -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(s)) { - return e->getOpcode() >= clang::UO_Plus && - e->getOpcode() <= clang::UO_Imag; - } - if (clang::BinaryOperator *e = llvm::dyn_cast(s)) { - return e->getOpcode() >= clang::BO_Mul && - e->getOpcode() <= clang::BO_LOr; - } - return false; -} - /////////////////////////////////////////////////////////////////////////////// // Dispatcher routines diff --git a/src/lib_parser/data/parser/cxx/ASTVisitor.h b/src/lib_parser/data/parser/cxx/ASTVisitor.h index 65c77c58..1d5aa89e 100644 --- a/src/lib_parser/data/parser/cxx/ASTVisitor.h +++ b/src/lib_parser/data/parser/cxx/ASTVisitor.h @@ -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