aheejin added inline comments.

================
Comment at: lib/CodeGen/CGCall.cpp:1849
+      if (!AttrOnCallSite && !Fn->hasPrototype())
+        FuncAttrs.addAttribute("no-prototype");
       AddAttributesFromFunctionProtoType(
----------------
Is there a reason why this is not something like `llvm::Attribute::NoPrototype` 
like other attributes?


Repository:
  rC Clang

https://reviews.llvm.org/D48443



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

Reply via email to