CodeGenOptions.cpp 761 B

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