mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -88,13 +88,13 @@ static clang::CodeGenerator *createClangCodeGenerator(ASTContext &Context,
|
||||
CGO.DisableFPElim = Opts.DisableFPElim;
|
||||
switch (Opts.DebugInfoKind) {
|
||||
case IRGenDebugInfoKind::None:
|
||||
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::NoDebugInfo);
|
||||
CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::NoDebugInfo);
|
||||
break;
|
||||
case IRGenDebugInfoKind::LineTables:
|
||||
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::DebugLineTablesOnly);
|
||||
CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::DebugLineTablesOnly);
|
||||
break;
|
||||
case IRGenDebugInfoKind::Normal:
|
||||
CGO.setDebugInfo(clang::CodeGenOptions::DebugInfoKind::FullDebugInfo);
|
||||
CGO.setDebugInfo(clang::codegenoptions::DebugInfoKind::FullDebugInfo);
|
||||
break;
|
||||
}
|
||||
if (Opts.DebugInfoKind != IRGenDebugInfoKind::None) {
|
||||
|
||||
Reference in New Issue
Block a user