Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-24 Thread Aaron Ballman via cfe-commits
aaron.ballman closed this revision. aaron.ballman added a comment. Thanks! I've commit in r267338. http://reviews.llvm.org/D19244 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-22 Thread Aaron Ballman via cfe-commits
aaron.ballman marked an inline comment as done. aaron.ballman added a comment. Ping. http://reviews.llvm.org/D19244 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-19 Thread Aaron Ballman via cfe-commits
aaron.ballman marked 6 inline comments as done. Comment at: lib/Sema/SemaChecking.cpp:2722 @@ -2720,1 +2721,3 @@ ParamLoc = PV->getLocation(); + IsCRegister = + PV->getStorageClass() == SC_Register && !getLangOpts().CPlusPlus; That makes sense

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-19 Thread Aaron Ballman via cfe-commits
aaron.ballman updated this revision to Diff 54201. aaron.ballman added a comment. Addressed review comments: - Allow the register keyword for C++ code - Reword the diagnostic to be a bit more clear - Moved the varargs.cpp test case from Sema to SemaCXX http://reviews.llvm.org/D19244 Files: i

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-18 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7417-7421 @@ -7416,4 +7416,7 @@ InGroup; -def warn_va_start_of_reference_type_is_undefined : Warning< - "'va_start' has undefined behavior with reference types">, InGroup; +def warn_va_start_t

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-18 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7417-7421 @@ -7416,4 +7416,7 @@ InGroup; -def warn_va_start_of_reference_type_is_undefined : Warning< - "'va_start' has undefined behavior with reference types">, InGroup; +def warn_va_

Re: [PATCH] D19244: Extend checking of va_start builtin

2016-04-18 Thread Richard Smith via cfe-commits
rsmith added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:7417-7421 @@ -7416,4 +7416,7 @@ InGroup; -def warn_va_start_of_reference_type_is_undefined : Warning< - "'va_start' has undefined behavior with reference types">, InGroup; +def warn_va_start_t