r372633 - [ASTImporter] Attempt to fix Windows buildbot test errors

Gabor Marton via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 10:29:09 PDT 2019


Author: martong
Date: Mon Sep 23 10:29:08 2019
New Revision: 372633

URL: http://llvm.org/viewvc/llvm-project?rev=372633&view=rev
Log:
[ASTImporter] 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=372633&r1=372632&r2=372633&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp (original)
+++ cfe/trunk/unittests/AST/ASTImporterODRStrategiesTest.cpp Mon Sep 23 10:29:08 2019
@@ -30,9 +30,9 @@ using internal::BindableMatcher;
 
 struct Function {
   using DeclTy = FunctionDecl;
-  static constexpr auto *Prototype = "void X(int);";
+  static constexpr auto *Prototype = "void X(long);";
   static constexpr auto *ConflictingPrototype = "void X(double);";
-  static constexpr auto *Definition = "void X(int a) {}";
+  static constexpr auto *Definition = "void X(long a) {}";
   static constexpr auto *ConflictingDefinition = "void X(double a) {}";
   BindableMatcher<Decl> getPattern() {
     return functionDecl(hasName("X"), unless(isImplicit()));




More information about the cfe-commits mailing list