CodeGenOptions.cpp 727 B

123456789101112131415161718192021222324
  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. #include "clang/Frontend/CodeGenOptions.h"
  10. #include <string.h>
  11. namespace clang {
  12. CodeGenOptions::CodeGenOptions() {
  13. #define CODEGENOPT(Name, Bits, Default) Name = Default;
  14. #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
  15. #include "clang/Frontend/CodeGenOptions.def"
  16. RelocationModel = "pic";
  17. memcpy(CoverageVersion, "402*", 4);
  18. }
  19. } // end namespace clang