[Lldb-commits] [lldb] r142305 - /lldb/trunk/include/lldb/Symbol/ClangASTImporter.h

Johnny Chen johnny.chen at apple.com
Mon Oct 17 16:18:19 PDT 2011


Author: johnny
Date: Mon Oct 17 18:18:19 2011
New Revision: 142305

URL: http://llvm.org/viewvc/llvm-project?rev=142305&view=rev
Log:
This patch alloows lldb to build under GCC.

from dawn at burble.org

Modified:
    lldb/trunk/include/lldb/Symbol/ClangASTImporter.h

Modified: lldb/trunk/include/lldb/Symbol/ClangASTImporter.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/ClangASTImporter.h?rev=142305&r1=142304&r2=142305&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/ClangASTImporter.h (original)
+++ lldb/trunk/include/lldb/Symbol/ClangASTImporter.h Mon Oct 17 18:18:19 2011
@@ -17,6 +17,11 @@
 #include "clang/AST/ASTImporter.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/FileSystemOptions.h"
+#if defined(__GNUC__) && !defined(__clang__)
+// Gcc complains about ClangNamespaceDecl being an incomplete type
+// without this.
+#include "lldb/Symbol/ClangNamespaceDecl.h"
+#endif
 
 namespace lldb_private {
 





More information about the lldb-commits mailing list