[PATCH] D34286: [clang-tidy] Fix type names in modernize-use-unique/shared_ptr checks.
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 26 08:48:56 PDT 2017
alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: clang-tidy/modernize/MakeSmartPtrCheck.cpp:23
+ const LangOptions &Lang) {
+ return clang::Lexer::getSourceText(
+ clang::CharSourceRange::getTokenRange(
----------------
s/clang:://
================
Comment at: clang-tidy/modernize/MakeSmartPtrCheck.cpp:24
+ return clang::Lexer::getSourceText(
+ clang::CharSourceRange::getTokenRange(
+ NewExpr->getAllocatedTypeSourceInfo()->getTypeLoc().getSourceRange()),
----------------
ditto
https://reviews.llvm.org/D34286
More information about the cfe-commits
mailing list