================
@@ -5215,15 +5215,22 @@ std::string CompilerInvocation::computeContextHash() 
const {
   HBuilder.add(serialization::VERSION_MAJOR, serialization::VERSION_MINOR);
 
   // Extend the signature with the language options
-  // FIXME: Replace with C++20 `using enum LangOptions::CompatibilityKind`.
-  using CK = LangOptions::CompatibilityKind;
+  const unsigned LanguageOptionValues[] = {
----------------
erichkeane wrote:

```suggestion
  constexpr unsigned LanguageOptionValues[] = {
```

https://github.com/llvm/llvm-project/pull/203162
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to