efriedma added inline comments.

================
Comment at: clang/lib/CodeGen/ItaniumCXXABI.cpp:4698
+    if (CodeGenOpts.UnwindTables)
+      fn->setUWTableKind(llvm::UWTableKind(CodeGenOpts.UnwindTables));
+
----------------
We probably want to call SetLLVMFunctionAttributesForDefinition() here instead. 
 The end result isn't that much different, but it indicates the intent more 
clearly, and hopefully we avoid hitting similar issues in this code in the 
future.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151393

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

Reply via email to