[Lldb-commits] [lldb] r278197 - Undid LLVM macro usage in test suite test subject files.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 9 18:37:27 PDT 2016


Author: tfiala
Date: Tue Aug  9 20:37:27 2016
New Revision: 278197

URL: http://llvm.org/viewvc/llvm-project?rev=278197&view=rev
Log:
Undid LLVM macro usage in test suite test subject files.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp
    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp
    lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp?rev=278197&r1=278196&r2=278197&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp Tue Aug  9 20:37:27 2016
@@ -16,15 +16,15 @@ namespace a {
         ~c();
         void func1() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
         void func2() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
         void func3() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
     };
 
@@ -39,11 +39,11 @@ namespace b {
         ~c();
         void func1() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
         void func3() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
     };
 
@@ -58,11 +58,11 @@ namespace c {
         ~d() {}
         void func2() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
         void func3() 
         {
-            puts (LLVM_PRETTY_FUNCTION);
+            puts (__PRETTY_FUNCTION__);
         }
     };
 }

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp?rev=278197&r1=278196&r2=278197&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp Tue Aug  9 20:37:27 2016
@@ -17,7 +17,7 @@ public:
     virtual ~VBase() {}
     void Print() 
     {
-        printf("%p: %s\n%p: m_value = 0x%8.8x\n", this, LLVM_PRETTY_FUNCTION, &m_value, m_value);
+        printf("%p: %s\n%p: m_value = 0x%8.8x\n", this, __PRETTY_FUNCTION__, &m_value, m_value);
     }
     int m_value;
 };
@@ -28,7 +28,7 @@ public:
     Derived1() {};
     void Print ()
     {
-        printf("%p: %s\n", this, LLVM_PRETTY_FUNCTION);
+        printf("%p: %s\n", this, __PRETTY_FUNCTION__);
         VBase::Print();
     }
 
@@ -41,7 +41,7 @@ public:
     
     void Print ()
     {
-        printf("%p: %s\n", this, LLVM_PRETTY_FUNCTION);
+        printf("%p: %s\n", this, __PRETTY_FUNCTION__);
         VBase::Print();
     }
 };
@@ -56,7 +56,7 @@ public:
     {
         printf("%p: %s \n%p: m_joiner1 = 0x%8.8x\n%p: m_joiner2 = 0x%8.8x\n",
                this,
-               LLVM_PRETTY_FUNCTION,
+               __PRETTY_FUNCTION__,
                &m_joiner1,
                m_joiner1,
                &m_joiner2,

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp?rev=278197&r1=278196&r2=278197&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp Tue Aug  9 20:37:27 2016
@@ -10,17 +10,17 @@ public:
     
     virtual const char * a()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 
     virtual const char * b()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 
     virtual const char * c()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 protected:
     char m_pad;
@@ -34,7 +34,7 @@ public:
 
     virtual const char * aa()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
   
 protected:
@@ -50,12 +50,12 @@ public:
     
     virtual const char * a()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 
     virtual const char * b()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 protected:
     char m_pad;
@@ -70,7 +70,7 @@ public:
     
     virtual const char * a()
     {
-        return LLVM_PRETTY_FUNCTION;
+        return __PRETTY_FUNCTION__;
     }
 protected:
     char m_pad;




More information about the lldb-commits mailing list