Yes, thanks. That actually worked and passes the test suite.
Does the check look fine to you?
http://reviews.llvm.org/D9235
Files:
SemaDecl.cpp
Index: SemaDecl.cpp
===================================================================
--- SemaDecl.cpp
+++ SemaDecl.cpp
@@ -1749,7 +1749,7 @@
Loc, Loc, II, R, /*TInfo=*/nullptr,
SC_Extern,
false,
- /*hasPrototype=*/true);
+ R->isFunctionProtoType());
New->setImplicit();
// Create Decl objects for each parameter, adding them to the
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
Index: SemaDecl.cpp
===================================================================
--- SemaDecl.cpp
+++ SemaDecl.cpp
@@ -1749,7 +1749,7 @@
Loc, Loc, II, R, /*TInfo=*/nullptr,
SC_Extern,
false,
- /*hasPrototype=*/true);
+ R->isFunctionProtoType());
New->setImplicit();
// Create Decl objects for each parameter, adding them to the
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits