Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
Event Timeline
unittests/clangd/XRefsTests.cpp | ||
---|---|---|
599–601 | I would go with #pragma once in the test code, it adds less noise. WDYT? |
Comment Actions
Use #program once
unittests/clangd/XRefsTests.cpp | ||
---|---|---|
599–601 | I thought #pragma once is non-standard, but the diagnostic message also suggest this fix. Changed to it. |
unittests/clangd/XRefsTests.cpp | ||
---|---|---|
599–601 | Thanks! It's non-standard, but supported on every modern compiler, so we should be fine :-) |
I would go with #pragma once in the test code, it adds less noise. WDYT?