[cfe-commits] r38817 - in /cfe/cfe/trunk/Parse: DeclSpec.cpp ParseDecl.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:24:54 PDT 2007
Author: sabre
Date: Wed Jul 11 11:24:53 2007
New Revision: 38817
URL: http://llvm.org/viewvc/llvm-project?rev=38817&view=rev
Log:
add some notes
Modified:
cfe/cfe/trunk/Parse/DeclSpec.cpp
cfe/cfe/trunk/Parse/ParseDecl.cpp
Modified: cfe/cfe/trunk/Parse/DeclSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/DeclSpec.cpp?rev=38817&r1=38816&r2=38817&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/DeclSpec.cpp (original)
+++ cfe/cfe/trunk/Parse/DeclSpec.cpp Wed Jul 11 11:24:53 2007
@@ -230,9 +230,6 @@
TypeSpecType = TST_int;
}
- // Okay, now we can infer the real type.
-
-
// Verify __thread.
if (SCS_thread_specified) {
if (StorageClassSpec == SCS_unspecified) {
@@ -244,6 +241,11 @@
SCS_thread_specified = false;
}
}
+
+ // Okay, now we can infer the real type.
+ // FIXME: infer real type.
+
+ // FIXME: return "auto function" and other bad things based on the real type.
// 'data definition has no type or storage class'?
}
Modified: cfe/cfe/trunk/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/ParseDecl.cpp?rev=38817&r1=38816&r2=38817&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/ParseDecl.cpp (original)
+++ cfe/cfe/trunk/Parse/ParseDecl.cpp Wed Jul 11 11:24:53 2007
@@ -45,6 +45,9 @@
/// 'double'
/// 'signed'
/// 'unsigned'
+/// struct-or-union-specifier [TODO]
+/// enum-specifier [TODO]
+/// typedef-name [TODO]
/// [C99] '_Bool'
/// [C99] '_Complex'
/// [C99] '_Imaginary' // Removed in TC2?
@@ -55,9 +58,6 @@
/// [OBJC] class-name objc-protocol-refs [opt] [TODO]
/// [OBJC] typedef-name objc-protocol-refs [TODO]
/// [OBJC] objc-protocol-refs [TODO]
-/// struct-or-union-specifier [TODO]
-/// enum-specifier [TODO]
-/// typedef-name [TODO]
/// type-qualifier:
/// const
/// volatile
More information about the cfe-commits
mailing list