Add support for autocompleting values of -std= by including
LangStandards.def. This patch relies on D36782, and is using two-stage
code generation.
Details
Diff Detail
- Build Status
Buildable 9392 Build 9392: arc lint + arc unit
Event Timeline
clang/include/clang/Driver/Options.td | ||
---|---|---|
2254 | const char* Values -> const char *Values | |
2254–2258 | I think Raphael suggested indenting embedded code with at least 2 spaces. I think you want to indent it with 4 spaces so that it looks better. | |
llvm/utils/TableGen/OptParserEmitter.cpp | ||
314 | Why do you have to change this? The previous code looks nicer. |
llvm/utils/TableGen/OptParserEmitter.cpp | ||
---|---|---|
314 | Because I got an error that ValuesWereAdded are defined several times. |
llvm/utils/TableGen/OptParserEmitter.cpp | ||
---|---|---|
314 | Okay, but I think at least you want to move the definition into the scope that line 310 defines, so that the scope of the variable ends at the code that line 322 emits. |
const char* Values -> const char *Values