Avoid adding qualifiers before user-defined literals
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Would be cool if in the future we could instead transform something like
using namespace std;
int main() {
auto t = 5ms;
}into
using namespace std::chrono_literals;
int main() {
auto t = 5ms;
}But I think your fix certainly improved the behavior for now, so LGTM!
| clang-tools-extra/clangd/unittests/tweaks/RemoveUsingNamespaceTests.cpp | ||
|---|---|---|
| 253 | ||
Comment Actions
@tom-anders Thanks for reviewing and for your suggestions!
I think your suggestion is excellent, but for now, it is too complex for me to implement.
If this patch is okay, could you please help me commit it? Thanks again!