[all-commits] [llvm/llvm-project] 2df120: [analyzer] Fix assertion in simplifySymbolCast

Gabor Marton via All-commits all-commits at lists.llvm.org
Tue Jul 5 10:02:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2df120784af40c9cfebaf2a505a5ebe74c51b44a
      https://github.com/llvm/llvm-project/commit/2df120784af40c9cfebaf2a505a5ebe74c51b44a
  Author: Gabor Marton <gabor.marton at ericsson.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
    M clang/test/Analysis/produce-symbolcast_x86.cpp

  Log Message:
  -----------
  [analyzer] Fix assertion in simplifySymbolCast

Depends on D128068.
Added a new test code that fails an assertion in the baseline.
That is because `getAPSIntType` works only with integral types.

Differential Revision: https://reviews.llvm.org/D126779




More information about the All-commits mailing list