[Bug 23704] New: Don't include share/clang/cmake/ClangConfig.cmake when Clang is build with LLVM

Bug ID 23704
Summary Don’t include share/clang/cmake/ClangConfig.cmake when Clang is build with LLVM
Product lldb
Version 3.6
Hardware All
OS All
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter eugene.zelenko@gmail.com
Classification Unclassified

I build Clang (and other packages like lld, clang-tools-extra, etc) with LLVM,
so configuration is shared with LLVM.

I think will be good idea to check if LLDB_PATH_TO_CLANG_SOURCE is subdirectory
of LLDB_PATH_TO_LLVM_SOURCE and LLDB_PATH_TO_CLANG_BUILD is subdirectory of
LLDB_PATH_TO_LLVM_BUILD before including share/clang/cmake/ClangConfig.cmake.

Eugene Zelenko changed bug 23704

What Removed Added
Status NEW RESOLVED
Resolution FIXED

Comment # 1 on bug 23704 from Eugene Zelenko

Fixed with r241575 in trunk and r240419 in 3.6.2.