summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/mpi
diff options
context:
space:
mode:
authorGabor Horvath <xazax.hun@gmail.com>2016-09-24 02:13:45 +0000
committerGabor Horvath <xazax.hun@gmail.com>2016-09-24 02:13:45 +0000
commitafad84c04b4a6a7ec2d5ac56cf9022e488f875bb (patch)
treecafef3310ddba5b0c76486a67acb748b4509ec5d /clang-tools-extra/clang-tidy/mpi
parent96cbe7b9a715a3515466492b9bb9df226f2ae095 (diff)
downloadbcm5719-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.cpp3
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,
OpenPOWER on IntegriCloud