diff options
| author | Gabor Horvath <xazax.hun@gmail.com> | 2016-09-24 02:13:45 +0000 |
|---|---|---|
| committer | Gabor Horvath <xazax.hun@gmail.com> | 2016-09-24 02:13:45 +0000 |
| commit | afad84c04b4a6a7ec2d5ac56cf9022e488f875bb (patch) | |
| tree | cafef3310ddba5b0c76486a67acb748b4509ec5d /clang-tools-extra/clang-tidy/mpi | |
| parent | 96cbe7b9a715a3515466492b9bb9df226f2ae095 (diff) | |
| download | bcm5719-llvm-afad84c04b4a6a7ec2d5ac56cf9022e488f875bb.tar.gz bcm5719-llvm-afad84c04b4a6a7ec2d5ac56cf9022e488f875bb.zip | |
[clang-tidy] Cleaning up language options.
Differential Revision: https://reviews.llvm.org/D24881
llvm-svn: 282319
Diffstat (limited to 'clang-tools-extra/clang-tidy/mpi')
| -rw-r--r-- | clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.cpp b/clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.cpp index 143cc55f720..efe4aee5e44 100644 --- a/clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.cpp +++ b/clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.cpp @@ -296,8 +296,7 @@ void TypeMismatchCheck::check(const MatchFinder::MatchResult &Result) { addPair(0, 2); } } - checkArguments(BufferTypes, BufferExprs, MPIDatatypes, - Result.Context->getLangOpts()); + checkArguments(BufferTypes, BufferExprs, MPIDatatypes, getLangOpts()); } void TypeMismatchCheck::checkArguments(ArrayRef<const Type *> BufferTypes, |

