[llvm-bugs] [Bug 36953] False positive: Undefined or garbage value returned to caller

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 29 13:53:02 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=36953

Vlad Bespalov <vlad.bespalov at jetstreamsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Vlad Bespalov <vlad.bespalov at jetstreamsoft.com> ---
false positive in reproducer fixed in clang 7.0:

$ clang-check ../../stupid.c -analyze -extra-arg -Xanalyzer -extra-arg
-analyzer-output=text
Error while trying to load a compilation database:
Could not auto-detect compilation database for file "../../stupid.c"
No compilation database found in
/home/Vlad.Bespalov/source/!4/clang+llvm-6.0.1-x86_64-linux-sles11.3/bin/../..
or any parent directory
json-compilation-database: Error while opening JSON database: No such file or
directory
fixed-compilation-database: Error while opening fixed database: No such file or
directory
Running without flags.

$ clang-check --version
LLVM (http://llvm.org/):
  LLVM version 7.0.0
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: amdfam10

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181029/2fdce91b/attachment-0001.html>


More information about the llvm-bugs mailing list