[MacPorts] #63038: clang12: please re-enable the +analyzer as a default variant

MacPorts noreply at macports.org
Mon Jun 14 15:42:59 UTC 2021


#63038: clang12: please re-enable the +analyzer as a default variant
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  kencu
      Type:  request     |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  clang-12    |
-------------------------+----------------------

Comment (by mouse07410):

 OK, you're probably right. I can only say that I have never used {{{scan-
 build}}}, and the one time I tried - it did not work properly.

 P.S. Though this message from it is correct:
 {{{
 scan-build: Using '/opt/local/libexec/llvm-12/bin/clang' for static
 analysis
 Using testing flags: -std=gnu++17 -O3 -march=native -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
 Running make again to see what failed
 TestPrograms/test_x86_sse2.cpp:5:5: warning: Value stored to 'x' is never
 read [deadcode.DeadStores]
     x=_mm_add_epi64(x,x);
     ^ ~~~~~~~~~~~~~~~~~~
 1 warning generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63038#comment:31>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list