blob: 75ee47f86806ddaccac763998cda577c9dc75b6a [file] [log] [blame]
Stephen Hines176edba2014-12-01 14:53:08 -08001//===--- 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
Stephen Hines176edba2014-12-01 14:53:08 -080010#include "clang/Frontend/CodeGenOptions.h"
Stephen Hines0e2c34f2015-03-23 12:09:02 -070011#include <string.h>
Stephen Hines176edba2014-12-01 14:53:08 -080012
13namespace clang {
14
15CodeGenOptions::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