diff options
| author | Hans Wennborg <hans@hanshq.net> | 2014-12-13 22:44:46 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2014-12-13 22:44:46 +0000 |
| commit | 1fda216122e43d0385a08ba7abeaf71823f27f34 (patch) | |
| tree | 679e6aad38268600d71ef1e93ca9ee6f662440b2 /clang/test | |
| parent | a41faeddb9abfcffdbcb58bbe5f27feb1b1c016c (diff) | |
| download | bcm5719-llvm-1fda216122e43d0385a08ba7abeaf71823f27f34.tar.gz bcm5719-llvm-1fda216122e43d0385a08ba7abeaf71823f27f34.zip | |
clang-cl: Fix handling of the /volatile flag (PR21893)
The /volatile:iso flag is our default behaviour, so it can be ignored.
Parse /volatile:ms as unsupported.
llvm-svn: 224202
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/cl-options.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c index e3017f85895..fa3273e0b40 100644 --- a/clang/test/Driver/cl-options.c +++ b/clang/test/Driver/cl-options.c @@ -188,6 +188,7 @@ // RUN: /sdl \ // RUN: /sdl- \ // RUN: /vmg \ +// RUN: /volatile:iso \ // RUN: /w12345 \ // RUN: /wd1234 \ // RUN: /Zc:forScope \ @@ -270,7 +271,7 @@ // RUN: /Qvec-report:2 \ // RUN: /u \ // RUN: /V \ -// RUN: /volatile \ +// RUN: /volatile:ms \ // RUN: /wfoo \ // RUN: /WL \ // RUN: /Wp64 \ |

