From: Steve Naroff Date: Tue, 16 Jun 2009 00:20:10 +0000 (+0000) Subject: Add a comment to Sema::ActOnTranslationUnitScope(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb83c530ee82c0107720129473fa78336b6f4879;p=clang Add a comment to Sema::ActOnTranslationUnitScope(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73450 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index a5f243816a..254080a81a 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -125,6 +125,7 @@ void Sema::ActOnTranslationUnitScope(SourceLocation Loc, Scope *S) { 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");