clang  14.0.0git
CodeGenOptions.cpp
Go to the documentation of this file.
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 //===----------------------------------------------------------------------===//
8 
10 #include <string.h>
11 
12 namespace clang {
13 
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"
18 
19  RelocationModel = llvm::Reloc::PIC_;
20  memcpy(CoverageVersion, "408*", 4);
21 }
22 
23 } // end namespace clang
memcpy
__DEVICE__ void * memcpy(void *__a, const void *__b, size_t __c)
Definition: __clang_cuda_device_functions.h:1549
CodeGenOptions.h
clang::CodeGenOptions::CoverageVersion
char CoverageVersion[4]
The version string to put into coverage files.
Definition: CodeGenOptions.h:159
clang::CodeGenOptions::RelocationModel
llvm::Reloc::Model RelocationModel
The name of the relocation model to use.
Definition: CodeGenOptions.h:226
clang::CodeGenOptions::CodeGenOptions
CodeGenOptions()
Definition: CodeGenOptions.cpp:14
clang
Definition: CalledOnceCheck.h:17