summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 18:50:24 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 18:59:55 (GMT)
commitc1b575f4d110231617a7cb62187d553d67faad31 (patch)
treecc8e9bab09eb62486d2301fb7bd9fadcce03457f /Utilities/cmjsoncpp
parentdbfb50cd72e91000848a12e9e70a066c185828f7 (diff)
downloadCMake-c1b575f4d110231617a7cb62187d553d67faad31.zip
CMake-c1b575f4d110231617a7cb62187d553d67faad31.tar.gz
CMake-c1b575f4d110231617a7cb62187d553d67faad31.tar.bz2
clang-analyzer: rename from scan-build in comments
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r--Utilities/cmjsoncpp/src/lib_json/json_reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp b/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
index 6eeba0e..8291cc6 100644
--- a/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
+++ b/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
@@ -1728,7 +1728,7 @@ bool OurReader::decodeUnicodeCodePoint(Token& token,
Location end,
unsigned int& unicode) {
- unicode = 0; // Convince scanbuild this is always initialized before use.
+ unicode = 0; // Convince clang-analyzer that this is initialized before use.
if (!decodeUnicodeEscapeSequence(token, current, end, unicode))
return false;
if (unicode >= 0xD800 && unicode <= 0xDBFF) {