[docs] Fix build-docs.sh
[llvm-project.git] / clang / lib / Basic / CodeGenOptions.cpp
blob0c609cfa61de18561626e4f0753e0e15cd1c866c
1 //===--- CodeGenOptions.cpp -----------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "clang/Basic/CodeGenOptions.h"
10 #include <string.h>
12 namespace clang {
14 CodeGenOptions::CodeGenOptions() {
15 #define CODEGENOPT(Name, Bits, Default) Name = Default;
16 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
17 #include "clang/Basic/CodeGenOptions.def"
19 RelocationModel = llvm::Reloc::PIC_;
20 memcpy(CoverageVersion, "408*", 4);
23 } // end namespace clang