summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-10-28 22:03:20 +0000
committerDevang Patel <dpatel@apple.com>2010-10-28 22:03:20 +0000
commited23f18d7e09c2b2be567a59aeb440c93fda5327 (patch)
tree68fd30227ca24c2f7fb4cb431bff741781caebdf /clang/lib/CodeGen/CGDebugInfo.h
parent3cc8751d59ce63debd169e6a4ba1a3002724b4d5 (diff)
downloadbcm5719-llvm-ed23f18d7e09c2b2be567a59aeb440c93fda5327.tar.gz
bcm5719-llvm-ed23f18d7e09c2b2be567a59aeb440c93fda5327.zip
Basic types are language defined builtins. They are always defined at top most level.
llvm-svn: 117613
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index 55e2f0a480a..d4beae1c38d 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -218,6 +218,9 @@ private:
/// location.
llvm::DIFile getOrCreateFile(SourceLocation Loc);
+ /// getOrCreateMainFile - Get the file info for main compile unit.
+ llvm::DIFile getOrCreateMainFile();
+
/// getOrCreateType - Get the type from the cache or create a new type if
/// necessary.
llvm::DIType getOrCreateType(QualType Ty, llvm::DIFile F);
OpenPOWER on IntegriCloud