It is possible to pass a file of commands to clang-query using the
command line option -f or --preload. Make it possible to write comments
in such files.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 23333 Build 23332: arc lint + arc unit
Event Timeline
Comment Actions
LGTM aside from a minor nit.
clang-query/QueryParser.cpp | ||
---|---|---|
42 | This is just returning an empty StringRef, isn't it? Might as well return StringRef() through the default constructor for clarity. |
clang-query/QueryParser.cpp | ||
---|---|---|
42 | I copied the pattern from a few lines above, but there is it actually necessary as it is used in the code completion infrastructure. Comments don't participate in code completion so I changed it as described. |
This is just returning an empty StringRef, isn't it? Might as well return StringRef() through the default constructor for clarity.