commit | afad84c04b4a6a7ec2d5ac56cf9022e488f875bb | [log] [tgz] |
---|---|---|
author | Gabor Horvath <xazax.hun@gmail.com> | Sat Sep 24 02:13:45 2016 +0000 |
committer | Gabor Horvath <xazax.hun@gmail.com> | Sat Sep 24 02:13:45 2016 +0000 |
tree | cafef3310ddba5b0c76486a67acb748b4509ec5d | |
parent | 96cbe7b9a715a3515466492b9bb9df226f2ae095 [diff] [blame] |
[clang-tidy] Cleaning up language options. Differential Revision: https://reviews.llvm.org/D24881 llvm-svn: 282319
diff --git a/clang-tools-extra/clang-tidy/misc/UnusedRAIICheck.cpp b/clang-tools-extra/clang-tidy/misc/UnusedRAIICheck.cpp index 1786627..8350d53 100644 --- a/clang-tools-extra/clang-tidy/misc/UnusedRAIICheck.cpp +++ b/clang-tools-extra/clang-tidy/misc/UnusedRAIICheck.cpp
@@ -85,7 +85,7 @@ const auto *TL = selectFirst<TypeLoc>("t", Matches); D << FixItHint::CreateInsertion( Lexer::getLocForEndOfToken(TL->getLocEnd(), 0, *Result.SourceManager, - Result.Context->getLangOpts()), + getLangOpts()), Replacement); }