ARM64CollectLOH.cpp: Tweak \param. [-Wdocumentation]
[oota-llvm.git] / lib / Target / CppBackend / TargetInfo / CppBackendTargetInfo.cpp
index 60ba8ddb8579c21f85d9a60cef54974b2136adfe..096dc7350db029eb2b83c6bcf7f8420de82e4ac9 100644 (file)
@@ -8,15 +8,16 @@
 //===----------------------------------------------------------------------===//
 
 #include "CPPTargetMachine.h"
-#include "llvm/Module.h"
-#include "llvm/Target/TargetRegistry.h"
+#include "llvm/IR/Module.h"
+#include "llvm/Support/TargetRegistry.h"
 using namespace llvm;
 
 Target llvm::TheCppBackendTarget;
 
-static unsigned CppBackend_TripleMatchQuality(const std::string &TT) {
-  // This class always works, but shouldn't be the default in most cases.
-  return 1;
+static bool CppBackend_TripleMatchQuality(Triple::ArchType Arch) {
+  // This backend doesn't correspond to any architecture. It must be explicitly
+  // selected with -march.
+  return false;
 }
 
 extern "C" void LLVMInitializeCppBackendTargetInfo() {