summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-01-12 04:01:41 +0000
committerEric Fiselier <eric@efcs.ca>2018-01-12 04:01:41 +0000
commit64a0db76f96e7178deb09bd0d776042f8c771bc5 (patch)
treebeab13a47639199febcba12cb56d1bc1710958ac /clang/lib/AST/DeclBase.cpp
parent5ec7cd7227dacc0b386e4dc69e1d7ce54ef64572 (diff)
downloadbcm5719-llvm-64a0db76f96e7178deb09bd0d776042f8c771bc5.tar.gz
bcm5719-llvm-64a0db76f96e7178deb09bd0d776042f8c771bc5.zip
[CMake] Add LLVM_ENABLE_IDE option to better process sources for IDE's
Summary: Currently LLVM has no way to support configuring for IDE's like CLion. Like XCode and MSVC's IDE, CLion needs to see all of the headers and tablegen files in order to properly parse the sources. This patch adds an `LLVM_ENABLE_IDE` option which can be used to configure for IDE's in general. It is used by `LLVMProcessSources.cmake` to determine if the extra source files should be added to the target. Unfortunately because of the low level of `LLVMProcessSources.cmake`, I'm not sure where the `LLVM_ENABLE_IDE` option should live. I choose `HandleLLVMOptions.cmake` so that out-of-tree Clang builds would correctly configure the option by default. Reviewers: beanz, mgorny, lebedev.ri Reviewed By: beanz Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D40219 llvm-svn: 322349
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud