[Lldb-commits] [lldb] 984dd16 - [lldb] `or` -> `||` in SBDefines.h

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 26 15:01:45 PDT 2023


Author: Jonas Devlieghere
Date: 2023-04-26T15:01:33-07:00
New Revision: 984dd163a7a03c517e419475899b80dda841e752

URL: https://github.com/llvm/llvm-project/commit/984dd163a7a03c517e419475899b80dda841e752
DIFF: https://github.com/llvm/llvm-project/commit/984dd163a7a03c517e419475899b80dda841e752.diff

LOG: [lldb] `or` -> `||` in SBDefines.h

Address Dave's post-commit review feedback from
https://reviews.llvm.org/D147736#inline-1441914

Added: 
    

Modified: 
    lldb/include/lldb/API/SBDefines.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/API/SBDefines.h b/lldb/include/lldb/API/SBDefines.h
index 4f04cd1f5057..15f808b29fa8 100644
--- a/lldb/include/lldb/API/SBDefines.h
+++ b/lldb/include/lldb/API/SBDefines.h
@@ -30,7 +30,7 @@
 // Don't add the deprecated attribute when generating the bindings or when
 // building for anything older than C++14 which is the first version that
 // supports the attribute.
-#if defined(SWIG) or _cplusplus < 201402L
+#if defined(SWIG) || _cplusplus < 201402L
 #undef LLDB_DEPRECATED
 #define LLDB_DEPRECATED(MSG, FIX)
 #endif


        


More information about the lldb-commits mailing list