[cfe-commits] r73450 - /cfe/trunk/lib/Sema/Sema.cpp
Steve Naroff
snaroff at apple.com
Mon Jun 15 17:20:10 PDT 2009
Author: snaroff
Date: Mon Jun 15 19:20:10 2009
New Revision: 73450
URL: http://llvm.org/viewvc/llvm-project?rev=73450&view=rev
Log:
Add a comment to Sema::ActOnTranslationUnitScope().
Modified:
cfe/trunk/lib/Sema/Sema.cpp
Modified: cfe/trunk/lib/Sema/Sema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/Sema.cpp?rev=73450&r1=73449&r2=73450&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/Sema.cpp (original)
+++ cfe/trunk/lib/Sema/Sema.cpp Mon Jun 15 19:20:10 2009
@@ -125,6 +125,7 @@
if (!PP.getLangOptions().ObjC1) return;
+ // Built-in ObjC types may already be set by PCHReader (hence isNull checks).
if (Context.getObjCSelType().isNull()) {
// Synthesize "typedef struct objc_selector *SEL;"
RecordDecl *SelTag = CreateStructDecl(Context, "objc_selector");
More information about the cfe-commits
mailing list