[all-commits] [llvm/llvm-project] 903c87: [analyzer] Fix out-of-tree only clang build by not...
Balazs Benics via All-commits
all-commits at lists.llvm.org
Fri Jul 31 11:37:17 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 903c872b169dc88f434cf84c0aee32e429e1cc56
https://github.com/llvm/llvm-project/commit/903c872b169dc88f434cf84c0aee32e429e1cc56
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
(cherry picked from commit 63d3aeb529a7b0fb95c2092ca38ad21c1f5cfd74)
More information about the All-commits
mailing list