This change makes Basic depend on AST. The immediate problem I'm hitting is clang-format (which uses Basic but not AST) failing to link on Windows [1], but I suspect this could cause problems elsewhere too.
Is there some way to avoid this dependency? [1]. http://build.chromium.org/p/chromium.fyi/builders/ClangToTWin/builds/2903/steps/gclient%20runhooks/logs/stdio On Mon, Aug 31, 2015 at 11:39 AM, Eric Christopher via cfe-commits <cfe-commits@lists.llvm.org> wrote: > Author: echristo > Date: Mon Aug 31 13:39:22 2015 > New Revision: 246468 > > URL: http://llvm.org/viewvc/llvm-project?rev=246468&view=rev > Log: > Pull the target attribute parsing out of CGCall and onto TargetInfo. > > Also: > - Add a typedef to make working with the result easier. > - Update callers to use the new function. > - Make initFeatureMap out of line. > > Modified: > cfe/trunk/include/clang/Basic/TargetInfo.h > cfe/trunk/lib/Basic/TargetInfo.cpp > cfe/trunk/lib/CodeGen/CGCall.cpp _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits