diff options
author | Tyker <tyker1@outlook.com> | 2019-11-25 20:46:32 +0100 |
---|---|---|
committer | Tyker <tyker1@outlook.com> | 2019-11-25 20:46:32 +0100 |
commit | 7b86188b50bf6e537fe98b326f258fbd23108b83 (patch) | |
tree | 689f026cf84bfdff74c103a5265039c84f093afa /clang/test/Preprocessor/pragma_diagnostic_sections.cpp | |
parent | 7644d8ba4dc4e06b2db2bfdb7f4d76b9356cb288 (diff) | |
download | bcm5719-llvm-7b86188b50bf6e537fe98b326f258fbd23108b83.tar.gz bcm5719-llvm-7b86188b50bf6e537fe98b326f258fbd23108b83.zip |
[Diagnostic] add a warning which warns about misleading indentation
Summary: Add a warning for misleading indentation similar to GCC's -Wmisleading-indentation
Reviewers: aaron.ballman, xbolva00
Reviewed By: aaron.ballman, xbolva00
Subscribers: arphaman, Ka-Ka, thakis
Differential Revision: https://reviews.llvm.org/D70638
Diffstat (limited to 'clang/test/Preprocessor/pragma_diagnostic_sections.cpp')
-rw-r--r-- | clang/test/Preprocessor/pragma_diagnostic_sections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/pragma_diagnostic_sections.cpp b/clang/test/Preprocessor/pragma_diagnostic_sections.cpp index b680fae5b99..2bba7595a81 100644 --- a/clang/test/Preprocessor/pragma_diagnostic_sections.cpp +++ b/clang/test/Preprocessor/pragma_diagnostic_sections.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -Wall -Wunused-macros -Wunused-parameter -Wno-uninitialized -verify %s +// RUN: %clang_cc1 -fsyntax-only -Wall -Wunused-macros -Wunused-parameter -Wno-uninitialized -Wno-misleading-indentation -verify %s // rdar://8365684 struct S { |