Author: martong Date: Mon Sep 23 12:49:45 2019 New Revision: 372646 URL: http://llvm.org/viewvc/llvm-project?rev=372646&view=rev Log: [ASTImporter] 2nd attempt to fix Windows buildbot test errors
Modified: cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp Modified: cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp?rev=372646&r1=372645&r2=372646&view=diff ============================================================================== --- cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp (original) +++ cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp Mon Sep 23 12:49:45 2019 @@ -30,9 +30,9 @@ using internal::BindableMatcher; struct Function { using DeclTy = FunctionDecl; - static constexpr auto *Prototype = "void X(long);"; + static constexpr auto *Prototype = "void X(char*, char);"; static constexpr auto *ConflictingPrototype = "void X(double);"; - static constexpr auto *Definition = "void X(long a) {}"; + static constexpr auto *Definition = "void X(char *a, char b) {}"; static constexpr auto *ConflictingDefinition = "void X(double a) {}"; BindableMatcher<Decl> getPattern() { return functionDecl(hasName("X"), unless(isImplicit())); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits