[all-commits] [llvm/llvm-project] 63d3ae: [analyzer] Fix out-of-tree only clang build by not...

Balazs Benics via All-commits all-commits at lists.llvm.org
Fri Jul 31 01:28:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 63d3aeb529a7b0fb95c2092ca38ad21c1f5cfd74
      https://github.com/llvm/llvm-project/commit/63d3aeb529a7b0fb95c2092ca38ad21c1f5cfd74
  Author: Balazs Benics <benicsbalazs at gmail.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/include/llvm/Config/llvm-config.h.cmake

  Log Message:
  -----------
  [analyzer] Fix out-of-tree only clang build by not relaying on private header

It turned out that the D78704 included a private LLVM header, which is excluded
from the LLVM install target.
I'm substituting that `#include` with the public one by moving the necessary
`#define` into that. There was a discussion about this at D78704 and on the
cfe-dev mailing list.

I'm also placing a note to remind others of this pitfall.

Reviewed By: mgorny

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




More information about the All-commits mailing list