[all-commits] [llvm/llvm-project] e63b81: [analyzer][ctu] Only import const and trivial VarD...

Gabor Marton via All-commits all-commits at lists.llvm.org
Fri Apr 1 04:54:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e63b81d10e023b4d8e9f61ca29a678c74ce2c1cb
      https://github.com/llvm/llvm-project/commit/e63b81d10e023b4d8e9f61ca29a678c74ce2c1cb
  Author: Gabor Marton <gabor.marton at ericsson.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M clang/include/clang/CrossTU/CrossTranslationUnit.h
    M clang/lib/CrossTU/CrossTranslationUnit.cpp
    M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
    M clang/test/Analysis/Inputs/ctu-other.cpp
    M clang/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt
    M clang/test/Analysis/ctu-main.cpp
    M clang/test/Analysis/func-mapping-test.cpp
    M clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp

  Log Message:
  -----------
  [analyzer][ctu] Only import const and trivial VarDecls

Do import the definition of objects from a foreign translation unit if that's type is const and trivial.

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




More information about the All-commits mailing list