File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ template <typename T> struct AssertSymbol {
3535 " SymbolUnion not aligned enough" );
3636};
3737
38- LLVM_ATTRIBUTE_UNUSED static inline void assertSymbols () {
38+ [[maybe_unused]] static inline void assertSymbols () {
3939 AssertSymbol<Defined>();
4040 AssertSymbol<CommonSymbol>();
4141 AssertSymbol<Undefined>();
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ void multiThreadedPageInBackground(DeferredFiles &deferred) {
355355 // Reference all file's mmap'd pages to load them into memory.
356356 for (const char *page = buff.data (), *end = page + buff.size (); page < end;
357357 page += pageSize) {
358- LLVM_ATTRIBUTE_UNUSED volatile char t = *page;
358+ [[maybe_unused]] volatile char t = *page;
359359 (void )t;
360360 }
361361 };
You can’t perform that action at this time.
0 commit comments