[llvm-commits] [llvm-gcc-4.2] r60714 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Mon Dec 8 12:55:51 PST 2008
Author: dpatel
Date: Mon Dec 8 14:55:51 2008
New Revision: 60714
URL: http://llvm.org/viewvc/llvm-project?rev=60714&view=rev
Log:
There is no reason to ignore type variants.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=60714&r1=60713&r2=60714&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Mon Dec 8 14:55:51 2008
@@ -445,9 +445,6 @@
"Not a type.");
if (type == NULL_TREE || type == error_mark_node) return NULL;
- // Ignore variants such as const, volatile, or restrict.
- type = TYPE_MAIN_VARIANT(type);
-
// Should only be void if a pointer/reference/return type. Returning NULL
// allows the caller to produce a non-derived type.
if (TREE_CODE(type) == VOID_TYPE) return NULL;
More information about the llvm-commits
mailing list