[PATCH] D18657: Propagate missing empty exception spec from function declared in system header

John McCall via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 22 11:28:12 PDT 2016

rjmccall added inline comments.

Comment at: lib/Sema/SemaExceptionSpec.cpp:260
@@ -261,1 +259,3 @@
+      (First->getLocation().isInvalid() ||
+       Context.getSourceManager().isInSystemHeader(First->getLocation()))) {
Please find a way to sink the call to getFirstDecl() to the point where we need it.


More information about the cfe-commits mailing list