[PATCH] D24933: Enable configuration files in clang
Don Hinton via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 14 19:53:23 PST 2017
hintonda added inline comments.
================
Comment at: include/clang/Config/config.h.cmake:40
+#cmakedefine CLANG_CONFIG_FILE_SYSTEM_DIR ${CLANG_CONFIG_FILE_SYSTEM_DIR}
+#cmakedefine CLANG_CONFIG_FILE_USER_DIR ${CLANG_CONFIG_FILE_USER_DIR}
+
----------------
These need to be in quotes since you assign them to a std::string, i.e.:
```
#cmakedefine CLANG_CONFIG_FILE_SYSTEM_DIR "${CLANG_CONFIG_FILE_SYSTEM_DIR}"
#cmakedefine CLANG_CONFIG_FILE_USER_DIR "${CLANG_CONFIG_FILE_USER_DIR}"
```
https://reviews.llvm.org/D24933
More information about the cfe-commits
mailing list