clang
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
tools
clang
lib
Frontend
CodeGenOptions.cpp
Go to the documentation of this file.
1
//===--- CodeGenOptions.cpp -----------------------------------------------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#include "
clang/Frontend/CodeGenOptions.h
"
11
#include <string.h>
12
13
namespace
clang {
14
15
CodeGenOptions::CodeGenOptions
() {
16
#define CODEGENOPT(Name, Bits, Default) Name = Default;
17
#define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
18
#include "clang/Frontend/CodeGenOptions.def"
19
20
RelocationModel
=
"pic"
;
21
memcpy(
CoverageVersion
,
"402*"
, 4);
22
}
23
24
}
// end namespace clang
clang::CodeGenOptions::CoverageVersion
char CoverageVersion[4]
The version string to put into coverage files.
Definition:
CodeGenOptions.h:111
clang::CodeGenOptions::RelocationModel
std::string RelocationModel
The name of the relocation model to use.
Definition:
CodeGenOptions.h:142
CodeGenOptions.h
clang::CodeGenOptions::CodeGenOptions
CodeGenOptions()
Definition:
CodeGenOptions.cpp:15
Generated on Mon Aug 31 2015 10:45:14 for clang by
1.8.6