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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits