Print this page
new smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/validation/constexpr-string.c
          +++ new/usr/src/tools/smatch/src/validation/constexpr-string.c
   1    1  static char *a = "foobar";      // OK
   2    2  
   3    3  /*
   4      - * check-name: string literal constness verification.
        4 + * check-name: constness of string literal
   5    5   * check-command: sparse -Wconstexpr-not-const $file
   6    6   *
   7    7   * check-error-start
   8    8   * check-error-end
   9    9   */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX