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

Chris Lattner clattner at apple.com
Wed May 21 17:26:32 PDT 2008

On May 21, 2008, at 2:31 PM, Dan Gohman wrote:
> 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.

Excellent! Please apply,


More information about the cfe-dev mailing list