[PATCH] D20428: Tracking exception specification source locations

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 17:44:52 PDT 2016


rsmith added inline comments.

================
Comment at: include/clang/AST/TypeLoc.h:1251
@@ -1250,2 +1250,3 @@
   SourceLocation RParenLoc;
+  SourceRange ExceptionSpecRange;
   SourceLocation LocalRangeEnd;
----------------
Can you arrange things so we only store this if there is an exception specification? Or, failing that, at least only store it for a `FunctionProtoTypeLoc`.


http://reviews.llvm.org/D20428





More information about the cfe-commits mailing list