History log of /external/clang/test/SemaCXX/string-plus-int.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ff1e9cce64f9f4a94ebfbfd26aaca4c389382266 03-Mar-2012 Nico Weber <nicolasweber@gmx.de> Add a test for the -Wstring-plus-int fixit note.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/string-plus-int.cpp
1cb2d742eb6635aeab6132ee5f0b5781d39487d7 02-Mar-2012 Nico Weber <nicolasweber@gmx.de> Add -Wstring-plus-int, which warns on "str" + int and int + "str".

It doesn't warn if the integer is known at compile time and within
the bounds of the string.

Discussion: http://comments.gmane.org/gmane.comp.compilers.clang.scm/47203



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/string-plus-int.cpp