[PATCH] D23820: Do not warn about format strings that are indexed string literals.

Meike Baumgärtner via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 23 17:09:02 PDT 2016


meikeb marked an inline comment as done.

================
Comment at: lib/Sema/SemaChecking.cpp:3856
@@ -3855,3 +3855,3 @@
 // format string, we will usually need to emit a warning.
 // True string literals are then checked by CheckFormatString.
 static StringLiteralCheckType
----------------
I'm not sure if that should be mentioned here because it is a very high level comment and the suffix of a string literal is a string literal itself.


https://reviews.llvm.org/D23820





More information about the cfe-commits mailing list