dschuff added inline comments.

================
Comment at: lib/CodeGen/CGCall.cpp:1850
+        FuncAttrs.addAttribute("no-prototype");
       AddAttributesFromFunctionProtoType(
           getContext(), FuncAttrs, Fn->getType()->getAs<FunctionProtoType>());
----------------
Would it make sense to put this in `AddAttributesFormFunctionProtoType` Does 
this have the same effect as that would? For that matter, what's the practical 
difference between this call and the one on line 1826?


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