On Windows (VS2015 update1) two unit tests fail: ``` [ RUN ] ImportExpr.ImportGNUNullExpr input.cc:1:23: warning: expression result unused [-Wunused-value] void declToImport() { __null; } ^~~~~~ G:\arbeit\llvm2\llvm\tools\clang\unittests\AST\ASTImporterTest.cpp(149): error: Value of: testImport("void declToImport() { __null; }", Lang_CXX, "", Lang_CXX, Verifier, functionDecl( hasBody( compoundStmt( has( gnuNullExpr( hasType( asString("long")))))))) Actual: false (Could not find match) Expected: true [ FAILED ] ImportExpr.ImportGNUNullExpr (61 ms) ```
``` [ RUN ] ImportExpr.ImportParenListExpr G:\arbeit\llvm2\llvm\tools\clang\unittests\AST\ASTImporterTest.cpp(284): error: Value of: testImport( " template<typename T> class declToImport {" " void f( ) { declToImport X(*this); } }; ", Lang_CXX, "", Lang_CXX, Verifier, classTemplateDecl( has( cxxRecordDecl( hasMethod( allOf( hasName("f"), hasBody( compoundStm t( has( declStmt( hasSingleDecl( varDecl( hasInitializer( parenListExpr( has( unaryOperator( hasOperatorName("*"), hasUnaryOperand(cxxThisExpr()) )))))))))))))) )) Actual: false (Could not find match) Expected: true [ FAILED ] ImportExpr.ImportParenListExpr (59 ms) ``` ``` [ FAILED ] 2 tests, listed below: [ FAILED ] ImportExpr.ImportGNUNullExpr [ FAILED ] ImportExpr.ImportParenListExpr 2 FAILED TESTS ``` Thanks, --Serge 2016-03-10 16:02 GMT+06:00 Aleksei Sidorin <a.sido...@samsung.com>: > a.sidorin added a comment. > > Serge: BTW, tests for CXXBoolLiteralExpr are presented in this patch. > There is no test //exactly// for it but at least one test uses bool literal > and matches it successfully with cxxBoolLiteral() matcher. > > > http://reviews.llvm.org/D14286 > > > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits