mibintc marked 3 inline comments as done.
mibintc added a comment.

Adding an inline reply for John. rebased the patch, also re-applied 
clang-format.  What do you think?



================
Comment at: clang/lib/Analysis/BodyFarm.cpp:120
+                                VK_RValue, OK_Ordinary, SourceLocation(),
+                                FPOptions::defaultWithoutTrailingStorage(C));
 }
----------------
rjmccall wrote:
> These construction sites don't seem like appropriate uses of 
> `defaultWithoutTrailingStorage`, which is an implementation detail of the AST 
> nodes.  The right behavior here is for all of these places to use the default 
> `FPOptions` from the language options, then let the AST figure out the right 
> way to store that.  That happens to have the same effect currently as 
> `defaultWithoutTrailingStorage`, but the latter should be able to change, 
> while the right behavior for these places will remain the same.
OK i changed these in BodyFarm to use the default constructor.  In Sema I 
changed them from defaultWithoutTrailingStorage to use Sema.FPFeatures which is 
the current setting combining pragma values + command line options. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76384



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

Reply via email to