[llvm] [NFC][RemoveDIs] Remove conditional compilation for RemoveDIs (PR #81149)

Stephen Tozer via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 08:06:36 PST 2024


================
@@ -365,15 +365,10 @@ int main(int argc, char **argv) {
   }
 
   // RemoveDIs debug-info transition: tests may request that we /try/ to use the
-  // new debug-info format, if it's built in.
-#ifdef EXPERIMENTAL_DEBUGINFO_ITERATORS
-  if (TryUseNewDbgInfoFormat) {
-    // If LLVM was built with support for this, turn the new debug-info format
-    // on.
+  // new debug-info format.
+  if (TryUseNewDbgInfoFormat)
+    // Turn the new debug-info format on.
----------------
SLTozer wrote:

Nit, comments are counted when deciding whether an `if` needs braces; same applies everywhere else this is repeated.

https://github.com/llvm/llvm-project/pull/81149


More information about the llvm-commits mailing list