[all-commits] [llvm/llvm-project] 639348: [Static Analyzer] Add handling of the `-nostdlibin...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Tue Apr 9 13:10:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63934821d56f4d366f61048ed6060978bbde1bc6
      https://github.com/llvm/llvm-project/commit/63934821d56f4d366f61048ed6060978bbde1bc6
  Author: Ziqing Luo <ziqing at udel.edu>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/tools/scan-build/libexec/ccc-analyzer

  Log Message:
  -----------
  [Static Analyzer] Add handling of the `-nostdlibinc` option to ccc-analyzer (#88017)

Compiler options recognizable to ccc-analyzer are stored in maps. An
option missing in the map will be dropped by ccc-analyzer. This causes a
build error in one of our projects that only happens in scan-build but
not regular build, because ccc-analyzer do not recognize `-nostdlibinc`.

This commit adds the option to the map.

rdar://126082053



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list