[PATCH] D100276: [clang] p1099 using enum part 1

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 12 05:45:00 PDT 2021


urnathan added inline comments.


================
Comment at: clang/lib/Sema/SemaDeclCXX.cpp:12144
       NameInfo.getName().getNameKind() != DeclarationName::CXXConstructorName) {
+    // FIXME: 2021-04-07: When was this hack needed?  Can it be deleted now?
     // HACK: Work around a bug in libstdc++'s detection of ::gets. Sometimes
----------------
I noticed this in passing.  I have found it useful to add dates in such workaround comments -- having found really old ones in GCC that have been obsolete for like 15 years or more :)  Which  version(s) of libstdc++ got this wrong?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100276



More information about the cfe-commits mailing list