mehdi_amini marked 2 inline comments as done.
mehdi_amini added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:900
+ ShouldAddOptNone &= !D->hasAttr<AlwaysInlineAttr>();
+ if (ShouldAddOptNone) {
+ B.addAttribute(llvm::Attribute::OptimizeNone);
----------------
probinson wrote:
> This block is redundant now? The same things are added in the next if block.
Oh right! Will remove, thanks!
https://reviews.llvm.org/D28404
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits