[Lldb-commits] [PATCH] D73935: [lldb] Remove clang classes from lldb-forward.h

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 3 16:03:47 PST 2020


xiaobai created this revision.
xiaobai added a reviewer: LLDB.
Herald added a project: LLDB.

lldb-forward.h is convenient in many ways, but having clang-based
class forward declarations in there makes it easy to proliferate uses of clang
outside of plugins. Removing them makes you much more conscious of when
you're using something from clang and marks where we're using things
from clang in non-plugins.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73935

Files:
  lldb/include/lldb/Target/Target.h
  lldb/include/lldb/lldb-forward.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
  lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
  lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
  lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
  lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
  lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73935.242225.patch
Type: text/x-patch
Size: 12550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200204/bf9f85aa/attachment-0001.bin>


More information about the lldb-commits mailing list