On Mon, Nov 3, 2008 at 10:32 AM, Chris Lattner <[EMAIL PROTECTED]> wrote:
>> +++ cfe/trunk/include/clang/AST/ASTContext.h Mon Nov  3 08:12:49 2008
>> @@ -15,6 +15,7 @@
>> #define LLVM_CLANG_AST_ASTCONTEXT_H
>>
>> #include "clang/Basic/LangOptions.h"
>> +#include "clang/Basic/TargetInfo.h"
>> #include "clang/AST/Builtins.h"
>> #include "clang/AST/DeclBase.h"
>> #include "clang/AST/Type.h"
>> @@ -319,6 +319,8 @@
>>  void setBuiltinVaListType(QualType T);
>>  QualType getBuiltinVaListType() const { return BuiltinVaListType; }
>>
>> +  QualType getFromTargetType(TargetInfo::IntType Type) const;
>
> How ugly would it be to prototype this as taking an unsigned instead of the
> enum type?  That would allow us to avoid the #include.

Not too ugly; getFromTargetType should be private anyway. Tweak committed.

  - Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to