Skip to content

Commit 16dfbed

Browse files
committed
LTO: repair the build after 554ebcc
The `MS_Empty` enumerator needs to be qualified for lookup with MSVC. Tested with MSVC 10.17.11.
1 parent 4d52488 commit 16dfbed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/LTO/ThinLTOCodeGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ void ThinLTOCodeGenerator::run() {
17811781
};
17821782
struct ModuleInfo {
17831783
std::unique_ptr<AsyncModuleCacheEntry> Entry;
1784-
std::atomic<unsigned> State = MS_Empty;
1784+
std::atomic<unsigned> State = ModuleState::MS_Empty;
17851785
std::unique_ptr<MemoryBuffer> ComputedBuffer;
17861786
std::unique_ptr<MemoryBuffer> CachedBuffer;
17871787
};

0 commit comments

Comments
 (0)