You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Utilities/ClangTidyModule/Tests/cmake-use-cmstrlen-stdout.txt

53 lines
2.4 KiB

cmake-use-cmstrlen.cxx:26:9: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)strlen("Hello");
^~~~~~
cmStrLen
cmake-use-cmstrlen.cxx:26:9: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:27:9: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)::strlen("Goodbye");
^~~~~~~~
cmStrLen
cmake-use-cmstrlen.cxx:27:9: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:28:9: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)std::strlen("Hola");
^~~~~~~~~~~
cmStrLen
cmake-use-cmstrlen.cxx:28:9: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:29:9: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)ns1::strlen("Bonjour");
^~~~~~~~~~~
cmStrLen
cmake-use-cmstrlen.cxx:29:9: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:30:10: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)(sizeof("Hallo") - 1);
^~~~~~ ~~~
cmStrLen
cmake-use-cmstrlen.cxx:30:10: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:30:26: note: FIX-IT applied suggested code changes
(void)(sizeof("Hallo") - 1);
^
cmake-use-cmstrlen.cxx:31:14: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)(4 + sizeof("Hallo") - 1);
^~~~~~ ~~~
cmStrLen
cmake-use-cmstrlen.cxx:31:14: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:31:30: note: FIX-IT applied suggested code changes
(void)(4 + sizeof("Hallo") - 1);
^
cmake-use-cmstrlen.cxx:32:10: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)(sizeof "Hallo" - 1);
^~~~~~ ~~~
cmStrLen( )
cmake-use-cmstrlen.cxx:32:10: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:32:25: note: FIX-IT applied suggested code changes
(void)(sizeof "Hallo" - 1);
^
cmake-use-cmstrlen.cxx:33:14: warning: use cmStrLen() for string literals [cmake-use-cmstrlen]
(void)(4 + sizeof "Hallo" - 1);
^~~~~~ ~~~
cmStrLen( )
cmake-use-cmstrlen.cxx:33:14: note: FIX-IT applied suggested code changes
cmake-use-cmstrlen.cxx:33:29: note: FIX-IT applied suggested code changes
(void)(4 + sizeof "Hallo" - 1);
^