Browse Source

clang-analyzer: rename from scan-build in comments

pull/341/head
Brad King 4 years ago
parent
commit
c1b575f4d1
  1. 2
      CTestCustom.cmake.in
  2. 2
      Source/LexerParser/cmCTestResourceGroupsLexer.cxx
  3. 2
      Source/LexerParser/cmCTestResourceGroupsLexer.in.l
  4. 2
      Source/LexerParser/cmCommandArgumentLexer.cxx
  5. 2
      Source/LexerParser/cmCommandArgumentLexer.in.l
  6. 2
      Source/LexerParser/cmDependsJavaLexer.cxx
  7. 2
      Source/LexerParser/cmDependsJavaLexer.in.l
  8. 2
      Source/LexerParser/cmExprLexer.cxx
  9. 2
      Source/LexerParser/cmExprLexer.in.l
  10. 2
      Source/LexerParser/cmFortranLexer.cxx
  11. 2
      Source/LexerParser/cmFortranLexer.in.l
  12. 2
      Source/LexerParser/cmGccDepfileLexer.cxx
  13. 2
      Source/LexerParser/cmGccDepfileLexer.in.l
  14. 2
      Utilities/cmjsoncpp/src/lib_json/json_reader.cpp

2
CTestCustom.cmake.in

@ -83,7 +83,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
"compilation completed with warnings" # PGI
"[0-9]+ Warning\\(s\\) detected" # SunPro
# scanbuild exceptions
# clang-analyzer exceptions
"char_traits.h:.*: warning: Null pointer argument in call to string length function"
"stl_construct.h:.*: warning: Forming reference to null pointer"
".*stl_uninitialized.h:75:19: warning: Forming reference to null pointer.*"

2
Source/LexerParser/cmCTestResourceGroupsLexer.cxx

@ -659,7 +659,7 @@ Modify cmCTestResourceGroupsLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmCTestResourceGroupsLexerHelper.h"

2
Source/LexerParser/cmCTestResourceGroupsLexer.in.l

@ -18,7 +18,7 @@ Modify cmCTestResourceGroupsLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmCTestResourceGroupsLexerHelper.h"

2
Source/LexerParser/cmCommandArgumentLexer.cxx

@ -664,7 +664,7 @@ Modify cmCommandArgumentLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmCommandArgumentParserHelper.h"

2
Source/LexerParser/cmCommandArgumentLexer.in.l

@ -18,7 +18,7 @@ Modify cmCommandArgumentLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmCommandArgumentParserHelper.h"

2
Source/LexerParser/cmDependsJavaLexer.cxx

@ -860,7 +860,7 @@ Modify cmDependsJavaLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include <iostream>

2
Source/LexerParser/cmDependsJavaLexer.in.l

@ -18,7 +18,7 @@ Modify cmDependsJavaLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include <iostream>

2
Source/LexerParser/cmExprLexer.cxx

@ -664,7 +664,7 @@ Modify cmExprLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmExprParserHelper.h"

2
Source/LexerParser/cmExprLexer.in.l

@ -18,7 +18,7 @@ Modify cmExprLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include "cmExprParserHelper.h"

2
Source/LexerParser/cmFortranLexer.cxx

@ -838,7 +838,7 @@ Modify cmFortranLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#undef YY_NO_UNPUT

2
Source/LexerParser/cmFortranLexer.in.l

@ -27,7 +27,7 @@ Modify cmFortranLexer.cxx:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#undef YY_NO_UNPUT

2
Source/LexerParser/cmGccDepfileLexer.cxx

@ -645,7 +645,7 @@ static const flex_int16_t yy_chk[46] =
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include <cmGccDepfileLexerHelper.h>
#include <string>

2
Source/LexerParser/cmGccDepfileLexer.in.l

@ -4,7 +4,7 @@
/* IWYU pragma: no_forward_declare yyguts_t */
#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */
#ifndef __clang_analyzer__ /* Suppress clang-analyzer warnings */
#include <cmGccDepfileLexerHelper.h>
#include <string>

2
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) {

Loading…
Cancel
Save