[Lldb-commits] [lldb] r119353 - /lldb/trunk/test/namespace/main.cpp

Johnny Chen johnny.chen at apple.com
Tue Nov 16 10:11:55 PST 2010


Author: johnny
Date: Tue Nov 16 12:11:55 2010
New Revision: 119353

URL: http://llvm.org/viewvc/llvm-project?rev=119353&view=rev
Log:
Disambiguate the name lookup for the data type of anon_uint variable.

Modified:
    lldb/trunk/test/namespace/main.cpp

Modified: lldb/trunk/test/namespace/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/namespace/main.cpp?rev=119353&r1=119352&r2=119353&view=diff
==============================================================================
--- lldb/trunk/test/namespace/main.cpp (original)
+++ lldb/trunk/test/namespace/main.cpp Tue Nov 16 12:11:55 2010
@@ -8,7 +8,7 @@
 //===----------------------------------------------------------------------===//
 
 namespace {
-    typedef unsigned int uint_t;
+    typedef unsigned int my_uint_t;
     int i; // Find the line number for anonymous namespace variable i.
 }
 
@@ -53,7 +53,7 @@
 
 int Foo::myfunc(int a)
 {
-    ::uint_t anon_uint = 0;
+    ::my_uint_t anon_uint = 0;
     A::uint_t a_uint = 1;
     B::uint_t b_uint = 2;
     Y::uint_t y_uint = 3;





More information about the lldb-commits mailing list