[upstream-update] Rename of namespace clang::CodeGenOptions => clang::codegenoptions. NFC.

(cherry picked from commit 57b0c35375fae8d7186862ddc41d6a8a5fdfe135)
(cherry picked from commit 45c518df0b4e0939b98f2f16fc3b45bf05780030)
This commit is contained in:
Michael Gottesman
2016-02-16 01:46:44 -08:00
parent 5c08ac18ab
commit bdac088e0a

View File

@@ -88,13 +88,13 @@ static clang::CodeGenerator *createClangCodeGenerator(ASTContext &Context,
CGO.DisableFPElim = Opts.DisableFPElim; CGO.DisableFPElim = Opts.DisableFPElim;
switch (Opts.DebugInfoKind) { switch (Opts.DebugInfoKind) {
case IRGenDebugInfoKind::None: case IRGenDebugInfoKind::None:
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::NoDebugInfo); CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::NoDebugInfo);
break; break;
case IRGenDebugInfoKind::LineTables: case IRGenDebugInfoKind::LineTables:
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::DebugLineTablesOnly); CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::DebugLineTablesOnly);
break; break;
case IRGenDebugInfoKind::Normal: case IRGenDebugInfoKind::Normal:
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::FullDebugInfo); CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::FullDebugInfo);
break; break;
} }
if (Opts.DebugInfoKind != IRGenDebugInfoKind::None) { if (Opts.DebugInfoKind != IRGenDebugInfoKind::None) {