<div dir="ltr">On Windows (VS2015 update1) two unit tests fail:<div><br><div>```</div><div>[ RUN      ] ImportExpr.ImportGNUNullExpr</div><div>input.cc:1:23: warning: expression result unused [-Wunused-value]</div><div>void declToImport() { __null; }</div><div>                      ^~~~~~</div><div>G:\arbeit\llvm2\llvm\tools\clang\unittests\AST\ASTImporterTest.cpp(149): error: Value of: testImport("void declToImport() { __null; }", Lang_CXX, "", Lang_CXX,</div><div>Verifier, functionDecl( hasBody( compoundStmt( has( gnuNullExpr( hasType( asString("long"))))))))</div><div>  Actual: false (Could not find match)</div><div>Expected: true</div><div>[  FAILED  ] ImportExpr.ImportGNUNullExpr (61 ms)</div><div>```<br></div><div><br></div><div>```</div><div><div>[ RUN      ] ImportExpr.ImportParenListExpr</div><div>G:\arbeit\llvm2\llvm\tools\clang\unittests\AST\ASTImporterTest.cpp(284): error: Value of: testImport( "  template<typename T> class declToImport {" "    void f(</div><div>) { declToImport X(*this); } }; ", Lang_CXX, "", Lang_CXX, Verifier, classTemplateDecl( has( cxxRecordDecl( hasMethod( allOf( hasName("f"), hasBody( compoundStm</div><div>t( has( declStmt( hasSingleDecl( varDecl( hasInitializer( parenListExpr( has( unaryOperator( hasOperatorName("*"), hasUnaryOperand(cxxThisExpr()) ))))))))))))))</div><div>))</div><div>  Actual: false (Could not find match)</div><div>Expected: true</div><div>[  FAILED  ] ImportExpr.ImportParenListExpr (59 ms)</div></div><div>```</div><div><br></div><div>```</div><div><div>[  FAILED  ] 2 tests, listed below:</div><div>[  FAILED  ] ImportExpr.ImportGNUNullExpr</div><div>[  FAILED  ] ImportExpr.ImportParenListExpr</div><div><br></div><div> 2 FAILED TESTS</div></div><div>```</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Thanks,<br>--Serge<br></div></div>
<br><div class="gmail_quote">2016-03-10 16:02 GMT+06:00 Aleksei Sidorin <span dir="ltr"><<a href="mailto:a.sidorin@samsung.com" target="_blank">a.sidorin@samsung.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">a.sidorin added a comment.<br>
<br>
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.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D14286" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14286</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>