[PATCH] D39015: [Analyzer] Always use non-reference types when creating expressions in BodyFarm, removes std::call_once crash
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 24 15:54:04 PDT 2017
alexfh added inline comments.
================
Comment at: cfe/trunk/lib/Analysis/BodyFarm.cpp:366
+ M.makeLvalueToRvalue(D->getParamDecl(i),
+ /* RefersToEnclosingVariableOrCapture= */ false));
----------------
Remove the spaces inside the comment. `/*ParamName=*/value` is the format that is understood by clang-format and the https://clang.llvm.org/extra/clang-tidy/checks/misc-argument-comment.html clang-tidy check. Same elsewhere in this patch.
Repository:
rL LLVM
https://reviews.llvm.org/D39015
More information about the cfe-commits
mailing list