Details
Diff Detail
Event Timeline
This looks good and useful to me on the Tooling/Core side, but someone more familiar with the internals of NestedNamesSpecifiers should sign off on that portion.
Also, I would probably add a test case for _Bool, which is a case that has confused other logic like this. I think it will work, but may as well include the proof.
lib/Tooling/Core/QualTypeNames.cpp | ||
---|---|---|
443 | I think that can eliminate the need for the Prepend method. Let me dig a little more and get back. |
PTAL
lib/Tooling/Core/QualTypeNames.cpp | ||
---|---|---|
443 | WithGlobalNsPrefix has been added to every function in this file :) This eliminates the need for the Prepend function. |
Rather than building the NNS here and mutating it after the fact, why not pass WithGlobalNsPrefix down to createNestedNameSpecifierForScopeOf?