[PATCH] D35483: clang-format: fix block OpeningLineIndex around preprocessor
Francois Ferrand via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 05:42:38 PDT 2017
Typz added inline comments.
================
Comment at: lib/Format/UnwrappedLineParser.cpp:464
+ for (const auto &i : PPStack) {
+ hash_combine(h, i.Kind);
+ hash_combine(h, i.Line);
----------------
krasimir wrote:
> When I patch this, I get an `UnwrappedLineParser.cpp:457:16 error: implicit instantiation of undefined template 'std::hash<clang::format::UnwrappedLineParser::PPBranchKind>'`.
Seems to work fine with latest Ubuntu, but not on macos.
https://reviews.llvm.org/D35483
More information about the cfe-commits
mailing list