summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-09-05 01:38:34 +0000
committerTed Kremenek <kremenek@apple.com>2008-09-05 01:38:34 +0000
commitcb363253164a40cf43fa9f2e120ece57866d2097 (patch)
tree00d35b38c79f5ce91b604a113c09f5c9239b71a1
parent47923c7e594c9539d5369f293152b93dd0521956 (diff)
downloadbcm5719-llvm-cb363253164a40cf43fa9f2e120ece57866d2097.tar.gz
bcm5719-llvm-cb363253164a40cf43fa9f2e120ece57866d2097.zip
Remove stale comments.
llvm-svn: 55822
-rw-r--r--clang/lib/Sema/SemaDecl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 53327e497e5..467da813050 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -1760,16 +1760,8 @@ Sema::DeclTy *Sema::ActOnTag(Scope *S, unsigned TagType, TagKind TK,
// FIXME: Tag decls should be chained to any simultaneous vardecls, e.g.:
// struct X { int A; } D; D should chain to X.
if (getLangOptions().CPlusPlus)
- // FIXME: Look for a way to use RecordDecl for simple structs.
-
- // We use 'dyn_cast' instead of 'cast' because PrevDecl might not
- // be a CXXRecordDecl* if we had a redefinition error. In this case,
- // the dyn_cast will return a NULL pointer.
New = CXXRecordDecl::Create(Context, Kind, CurContext, Loc, Name);
else
- // We use 'dyn_cast' instead of 'cast' because PrevDecl might not
- // be a RecordDecl* if we had a redefinition error. In this case,
- // the dyn_cast will return a NULL pointer.
New = RecordDecl::Create(Context, Kind, CurContext, Loc, Name);
}
OpenPOWER on IntegriCloud