[flang-commits] [flang] a1baa7a - [NFC] Add missing llvm:: specifier
Scott Linder via flang-commits
flang-commits at lists.llvm.org
Mon Jan 23 15:51:50 PST 2023
Author: Scott Linder
Date: 2023-01-23T23:51:06Z
New Revision: a1baa7a5c57ea3065f8f354d2fc758b3328040fd
URL: https://github.com/llvm/llvm-project/commit/a1baa7a5c57ea3065f8f354d2fc758b3328040fd
DIFF: https://github.com/llvm/llvm-project/commit/a1baa7a5c57ea3065f8f354d2fc758b3328040fd.diff
LOG: [NFC] Add missing llvm:: specifier
This was omitted in 25c0ea2a5370813f46686918a84e0de27e107d08
Added:
Modified:
flang/lib/Frontend/FrontendActions.cpp
Removed:
################################################################################
diff --git a/flang/lib/Frontend/FrontendActions.cpp b/flang/lib/Frontend/FrontendActions.cpp
index ea8131e4e0b5..64641b737f71 100644
--- a/flang/lib/Frontend/FrontendActions.cpp
+++ b/flang/lib/Frontend/FrontendActions.cpp
@@ -587,7 +587,7 @@ void CodeGenAction::setUpTargetMachine() {
// Create `TargetMachine`
const auto &CGOpts = ci.getInvocation().getCodeGenOpts();
std::optional<llvm::CodeGenOpt::Level> OptLevelOrNone =
- CodeGenOpt::getLevel(CGOpts.OptimizationLevel);
+ llvm::CodeGenOpt::getLevel(CGOpts.OptimizationLevel);
assert(OptLevelOrNone && "Invalid optimization level!");
llvm::CodeGenOpt::Level OptLevel = *OptLevelOrNone;
std::string featuresStr = llvm::join(targetOpts.featuresAsWritten.begin(),
More information about the flang-commits
mailing list