[ASTImporter] Attempt to fix Windows buildbot test errors

llvm-svn: 372633
This commit is contained in:
Gabor Marton 2019-09-23 17:29:08 +00:00
parent 3e1480a03b
commit 4d51c6ff23
1 changed files with 2 additions and 2 deletions

View File

@ -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()));