From b64793999546ed8adebaeebd9d8345d18db8927d Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 3 Aug 2020 15:06:44 +0000 Subject: Remove LLVM 8.0.1 files. --- gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp | 32 ----------------------- 1 file changed, 32 deletions(-) delete mode 100644 gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp (limited to 'gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp') diff --git a/gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp b/gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp deleted file mode 100644 index aface1cd4bf..00000000000 --- a/gnu/llvm/tools/clang/lib/Basic/CodeGenOptions.cpp +++ /dev/null @@ -1,32 +0,0 @@ -//===--- CodeGenOptions.cpp -----------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "clang/Basic/CodeGenOptions.h" -#include - -namespace clang { - -CodeGenOptions::CodeGenOptions() { -#define CODEGENOPT(Name, Bits, Default) Name = Default; -#define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default); -#include "clang/Basic/CodeGenOptions.def" - - RelocationModel = llvm::Reloc::PIC_; - memcpy(CoverageVersion, "402*", 4); -} - -bool CodeGenOptions::isNoBuiltinFunc(const char *Name) const { - StringRef FuncName(Name); - for (unsigned i = 0, e = NoBuiltinFuncs.size(); i != e; ++i) - if (FuncName.equals(NoBuiltinFuncs[i])) - return true; - return false; -} - -} // end namespace clang -- cgit v1.2.3-59-g8ed1b