summaryrefslogtreecommitdiffstats
path: root/include/clang/Frontend/ASTConsumers.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-24 18:54:49 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-24 18:54:49 +0000
commit78762ebb9ad71d681110d4bada4b0575eaadfebe (patch)
treeb2d92c49abb7073ce9dcfa1f3161091249155228 /include/clang/Frontend/ASTConsumers.h
parent6c2497248bc4f7fd8e5fb0a206d20abbf0e16645 (diff)
Add a -dump-record-layouts argument to clang-cc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTConsumers.h')
-rw-r--r--include/clang/Frontend/ASTConsumers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Frontend/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h
index fc89e95cd7..f59a0a7d48 100644
--- a/include/clang/Frontend/ASTConsumers.h
+++ b/include/clang/Frontend/ASTConsumers.h
@@ -57,6 +57,10 @@ ASTConsumer *CreateASTViewer();
// to stderr; this is intended for debugging.
ASTConsumer *CreateDeclContextPrinter();
+// RecordLayout dumper: prints out the record layout information for all records
+// in the translation unit; this is intended for debugging.
+ASTConsumer *CreateRecordLayoutDumper();
+
// ObjC rewriter: attempts tp rewrite ObjC constructs into pure C code.
// This is considered experimental, and only works with Apple's ObjC runtime.
ASTConsumer *CreateObjCRewriter(const std::string &InFile,