[PATCH] D134549: [clang] Add fix-it note to defaulted-function-deleted warning

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 06:56:59 PDT 2022


martong added inline comments.


================
Comment at: clang/lib/AST/ASTImporter.cpp:3707
   ToFunction->setRangeEnd(ToEndLoc);
+  ToFunction->setDefaultLoc(D->getDefaultLoc());
 
----------------
This should be imported very similarly to `EndLoc`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134549



More information about the cfe-commits mailing list