[cfe-dev] [PATCH] AST dependencies on VMCore

Dan Gohman gohman at apple.com
Wed May 21 14:31:35 PDT 2008


Hello,

I recently had the occasion to examine the dependencies from
clang's AST library on LLVM's VMCore library. Attached is a patch
which eliminates the dependencies I found. The changes are to move
getAccessedFieldNo out of lib/AST/Expr.cpp into
lib/CodeGen/CGExpr.cpp and to change include/clang/AST/Attr.h to
use its own enum for visibility types instead of using
llvm::GlobalValue::VisibilityTypes.

Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-dependencies.patch
Type: application/octet-stream
Size: 10294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080521/dc6ab1cf/attachment.obj>
-------------- next part --------------





More information about the cfe-dev mailing list