Include System/DataTypes.h in Diagnostic.h to get intptr_t.

Set Haiku's UserLabelPrefix to "".
Patch by Paul Davey.

llvm-svn: 118510
This commit is contained in:
Rafael Espindola 2010-11-09 16:41:02 +00:00
parent e5276f11ee
commit c55be6d317
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "llvm/ADT/OwningPtr.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/type_traits.h"
#include "llvm/System/DataTypes.h"
#include <string>
#include <vector>
#include <cassert>

View File

@ -1500,6 +1500,7 @@ public:
SizeType = UnsignedLong;
IntPtrType = SignedLong;
PtrDiffType = SignedLong;
this->UserLabelPrefix = "";
}
virtual void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {