[PATCH] D95915: [clang][driver] Only warn once about invalid -stdlib value

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 4 08:36:56 PST 2021


Hahnfeld added inline comments.


================
Comment at: clang/include/clang/Driver/ToolChain.h:169-177
+  mutable bool isCXXStdlibTypeCached;
+  mutable CXXStdlibType cxxStdlibType;
+
+  mutable bool isRuntimeLibTypeCached;
+  mutable RuntimeLibType runtimeLibType;
+
+  mutable bool isUnwindLibTypeCached;
----------------
Maybe `llvm::Optional` for each type instead of having two members?


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

https://reviews.llvm.org/D95915



More information about the cfe-commits mailing list