[PATCH] D139696: [include-cleaner] Add a unique_ptr-style member expr test in WalkASTTest.
    Viktoriia Bakalova via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Dec  9 07:22:20 PST 2022
    
    
  
VitaNuo accepted this revision.
VitaNuo added a comment.
This revision is now accepted and ready to land.
Thank you!
================
Comment at: clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp:200
+  testWalk(R"cpp(
+      template <typename T> struct unique_ptr {
+        T *operator->();
----------------
Should "struct unique_ptr` go on the next line mayber? At least that's how I have seen templates defined until now :)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139696/new/
https://reviews.llvm.org/D139696
    
    
More information about the cfe-commits
mailing list