llvm.org GIT mirror llvm / 1bcf09e
Disable -Wunknown-pragmas in a test so that Clang without -Wself-move will not complain that the flag doesn't exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225931 91177308-0d34-0410-b5e6-96231b3b80d8 Richard Trieu 5 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
678678 }
679679
680680 #if defined(__clang__)
681 // Disable the pragma warning from versions of Clang without -Wself-move
682 #pragma clang diagnostic push
683 #pragma clang diagnostic ignored "-Wunknown-pragmas"
681684 // Disable the warning that triggers on exactly what is being tested.
682685 #pragma clang diagnostic push
683686 #pragma clang diagnostic ignored "-Wself-move"
700703 }
701704 #if defined(__clang__)
702705 #pragma clang diagnostic pop
706 #pragma clang diagnostic pop
703707 #endif
704708 }