riccibruno added inline comments.

================
Comment at: clang/include/clang/AST/Type.h:4048
+    return *getTrailingObjects<SourceLocation>();
+  }
+
----------------
And what if there is no ellipsis ? Shouldn't you do something like `return 
isVariadic() ? *getTrailingObjects<SourceLocation>() : SourceLocation();` 
instead ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63276/new/

https://reviews.llvm.org/D63276



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to