Updates to sync with changes in upstream.
[opencl/llvm.git] / cmake / modules / AddLLVMDefinitions.cmake
index 2787830bfa9dacf4f63256bf488afa6a1b09c82e..33ac9731db5db73a9813f2da571980b0e7cc407c 100644 (file)
@@ -1,14 +1,13 @@
-# There is no clear way of keeping track of compiler command-line\r
-# options chosen via `add_definitions', so we need our own method for\r
-# using it on tools/llvm-config/CMakeLists.txt.\r
-\r
-# Beware that there is no implementation of remove_llvm_definitions.\r
-\r
-macro(add_llvm_definitions)\r
-  # We don't want no semicolons on LLVM_DEFINITIONS:\r
-  foreach(arg ${ARGN})\r
-    set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${arg}")\r
-  endforeach(arg)\r
-  add_definitions( ${ARGN} )\r
-endmacro(add_llvm_definitions)\r
-\r
+# There is no clear way of keeping track of compiler command-line
+# options chosen via `add_definitions', so we need our own method for
+# using it on tools/llvm-config/CMakeLists.txt.
+
+# Beware that there is no implementation of remove_llvm_definitions.
+
+macro(add_llvm_definitions)
+  # We don't want no semicolons on LLVM_DEFINITIONS:
+  foreach(arg ${ARGN})
+    set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${arg}")
+  endforeach(arg)
+  add_definitions( ${ARGN} )
+endmacro(add_llvm_definitions)