@@ -154,7 +154,7 @@ include(GNUInstallDirs)
154154 message (STATUS "Found supported version: LLVM ${LLVM_PACKAGE_VERSION} " )
155155 message (STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR} " )
156156
157- ## Find supported LLD only while building for webassembly against emscripten
157+ ## Find supported LLD only while building for webassembly against emscripten
158158
159159if (EMSCRIPTEN)
160160 if (DEFINED LLD_VERSION)
@@ -236,14 +236,14 @@ endif()
236236 set (CMAKE_CXX_STANDARD 17)
237237 endif ()
238238 if (CMAKE_CXX_STANDARD LESS 17)
239- message (fatal "LLVM/CppInterOp requires c ++17 or later" )
239+ message (fatal "LLVM/CppInterOp requires C ++17 or later" )
240240 endif ()
241241 elseif (CLANG_VERSION_MAJOR GREATER_EQUAL 13)
242242 if (NOT CMAKE_CXX_STANDARD)
243243 set (CMAKE_CXX_STANDARD 14)
244244 endif ()
245245 if (CMAKE_CXX_STANDARD LESS 14)
246- message (fatal "LLVM/CppInterOp requires c ++14 or later" )
246+ message (fatal "LLVM/CppInterOp requires C ++14 or later" )
247247 endif ()
248248 endif ()
249249
@@ -274,8 +274,6 @@ endif()
274274 # For consistency we should set it to the correct value.
275275 set (LLVM_CONFIG_HAS_RTTI NO CACHE BOOL "" FORCE)
276276
277- ## Init
278-
279277 # In case this was a path to a build folder of llvm still try to find AddLLVM
280278 list (APPEND CMAKE_MODULE_PATH "${LLVM_DIR} " )
281279
@@ -383,7 +381,7 @@ include_directories(BEFORE SYSTEM
383381 ${CMAKE_CURRENT_SOURCE_DIR} /include
384382 )
385383
386- #Removes flag due to issue with Google test download when LLVM_ENABLE_WERROR=On
384+ # Removes flag due to issue with Google test download when LLVM_ENABLE_WERROR=On
387385string (REPLACE "-Wcovered-switch-default" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} " )
388386
389387file (STRINGS "VERSION" CPPINTEROP_VERSION)
0 commit comments