#include "llvm/ADT/iterator.h"
#include <cassert>
+#include <stdint.h>
namespace clang {
#include "clang/AST/Type.h"
#include "llvm/ADT/DenseMap.h"
#include <algorithm>
+#include <cstdio>
#include <functional>
#include <vector>
using namespace clang;
#include "llvm/ADT/DenseMap.h"
#include "llvm/Bitcode/Serialize.h"
#include "llvm/Bitcode/Deserialize.h"
+#include <cstdio>
using namespace clang;
#include "llvm/Bitcode/Serialize.h"
#include "llvm/Bitcode/Deserialize.h"
#include "llvm/Support/MemoryBuffer.h"
+#include <cstdio>
using namespace clang;
virtual const char *getClobbers() const {
return "~{dirflag},~{fpsr},~{flags}";
}
+
+ virtual int HandleTargetOptions(std::string *StrArray, unsigned NumStrs,
+ std::string &ErrorReason);
};
+
+/// HandleTargetOptions - Handle target-specific options like -msse2 and
+/// friends. An array of arguments is passed in: if they are all valid, this
+/// should handle them and return -1. If there is an error, the index of the
+/// invalid argument should be returned along with an optional error string.
+int X86TargetInfo::HandleTargetOptions(std::string *StrArray, unsigned NumStrs,
+ std::string &ErrorReason) {
+ if (NumStrs == 0)
+ return -1;
+ return 0;
+}
bool
X86TargetInfo::validateAsmConstraint(const char *&Name,
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/System/Path.h"
#include "llvm/Config/config.h"
+#include <cstdio>
#include <vector>
using namespace clang;
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MemoryBuffer.h"
+#include <cstdio>
using namespace clang;
//===----------------------------------------------------------------------===//
#include "clang/Basic/IdentifierTable.h"
#include "llvm/System/Path.h"
#include "llvm/ADT/SmallString.h"
+#include <cstdio>
using namespace clang;
HeaderSearch::HeaderSearch(FileManager &FM) : FileMgr(FM), FrameworkMap(64) {
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/FileManager.h"
#include "clang/Lex/LexDiagnostic.h"
+#include <cstdio>
#include <ctime>
using namespace clang;
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Streams.h"
+#include <cstdio>
using namespace clang;
//===----------------------------------------------------------------------===//