Use llvm-config.h in CIndexer.cpp instead of private header (#75928)

Use llvm-config.h in CIndexer.cpp instead of private header
This commit is contained in:
Abhina Sree authored and GitHub committed 2023-12-20 08:44:40 -05:00
1 parent 1ff9fb78c8
commit e86a02ce89
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@
#include "clang/Driver/Driver.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Config/config.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MD5.h"
#include "llvm/Support/Path.h"
-6
View File
@@ -50,15 +50,9 @@
don't. */
#cmakedefine01 HAVE_DECL_STRERROR_S
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
/* Define if dlopen() is available on this platform. */
#cmakedefine HAVE_DLOPEN ${HAVE_DLOPEN}
/* Define if dladdr() is available on this platform. */
#cmakedefine HAVE_DLADDR ${HAVE_DLADDR}
/* Define to 1 if we can register EH frames on this platform. */
#cmakedefine HAVE_REGISTER_FRAME ${HAVE_REGISTER_FRAME}
@@ -198,4 +198,10 @@
/* Define if plugins enabled */
#cmakedefine LLVM_ENABLE_PLUGINS
/* Define to 1 if you have the <dlfcn.h> header file. */
#cmakedefine HAVE_DLFCN_H ${HAVE_DLFCN_H}
/* Define if dladdr() is available on this platform. */
#cmakedefine HAVE_DLADDR ${HAVE_DLADDR}
#endif