[PATCH] D63261: [clang-tidy] Fixed abseil-time-subtraction to work on C++17

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 06:41:23 PDT 2019


gribozavr added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/abseil/TimeSubtractionCheck.cpp:45
+                                 match(callExpr(hasParent(varDecl())).bind("e"),
+                                       *Node, *Result.Context)) != nullptr;
 }
----------------
Use anyOf() instead two selectFirsts?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63261/new/

https://reviews.llvm.org/D63261





More information about the cfe-commits mailing list