zwuis wrote:

> We have a very confusing NNS interface:
> 
> ```cpp
> NestedNameSpecifier() : NestedNameSpecifier(FlagKind::Invalid) {}
> NestedNameSpecifier(std::nullopt_t) : StoredOrFlag(0) {}
> ```
> 
> That tripped me up (and that we probably should clean up)

If I remember correctly they were used for `DenseMap` (empty keys and tombstone 
keys). CC @mizvekov 

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

Reply via email to