[PATCH] D22208: clang-tidy] Fixes to modernize-use-emplace
Piotr Padlewski via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 12 10:38:23 PDT 2016
Prazek added inline comments.
================
Comment at: clang-tidy/modernize/UseEmplaceCheck.cpp:129
@@ -95,1 +128,3 @@
+ auto CtorCallSourceRange = CharSourceRange::getTokenRange(
+ InnerCtorCall->getExprLoc(), CallParensRange.getBegin());
----------------
There is a bug here that I forgot about. Should be InnerCtorCall->getStartLoc()
Repository:
rL LLVM
http://reviews.llvm.org/D22208
More information about the cfe-commits
mailing list