Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
51–53 | nit: it might be nice to bail out early if no tracer is attached with trace::enabled |
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
40 | Nit: any reason to use std::string here instead StringRef. |
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
41 | Testing for specific C versions seems a bit weird to me - what if we're in C89? I'd suggest checking (optionally objc++), objc, c++, and calling everything else C. If you really want to avoid particular dialects, probably best to name them specifically. | |
65 | I'm not clear what this is trying to measure - why isn't this the same metric as SelectionUsedRecovery (just adding a field to that one?) |
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
54 | This classifies objc++ as c++. |
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
54 | yeah, this is my intention as we don't really care about C++ or ObjC++. |
Nit: any reason to use std::string here instead StringRef.