manmanren added inline comments. ================ Comment at: utils/TableGen/ClangAttrEmitter.cpp:1234 @@ +1233,3 @@ + if ((Spelling == "deprecated" || Spelling == "gnu::deprecated") && + Variety != "GNU" && index == 1) + continue; ---------------- This does not look pretty. Maybe we can implement a function writeDeprecatedValue that can skip the second argument if it is empty?
http://reviews.llvm.org/D17865 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits