Skip to content

Commit 68e8fee

Browse files
committed
Comment parsing: put more information into the generated XML documents
This commit adds infrastructure for conversion and testing it. The conversion is still incomplete, pending discussion about which tags should we use in the XML documents. I copied the RelaxNG schema from Clang, and will edit it accordingly. Swift SVN r16451
1 parent 3cf3f42 commit 68e8fee

19 files changed

+1715
-383
lines changed

CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ else()
206206
set(SWIFT_COMPILER "${PATH_TO_SWIFT_BUILD}/${CMAKE_CFG_INTDIR}/bin/swift")
207207
endif()
208208

209+
# FIXME: unify with CLANG_HAVE_LIBXML, which is set in LLVM anyway.
210+
find_package(LibXml2)
211+
if(LIBXML2_FOUND)
212+
set(SWIFT_HAVE_LIBXML 1)
213+
endif()
214+
209215
# Xcode: use libc++ and c++11 using proper build settings.
210216
if ( XCODE )
211217
# Force usage of Clang.

0 commit comments

Comments
 (0)