forked from OSchip/llvm-project
Bring back a StringRef used in some build configurations
This was removed in the great unused local cleanup of r195814. Adding cast-to-void to suppress unused variable warnings. Should fix certain builds like ARCMT. llvm-svn: 195872
This commit is contained in:
parent
57ede3bd80
commit
ba294d73a1
|
@ -32,6 +32,8 @@ using namespace llvm::opt;
|
||||||
|
|
||||||
static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
|
static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) {
|
||||||
using namespace clang::frontend;
|
using namespace clang::frontend;
|
||||||
|
StringRef Action("unknown");
|
||||||
|
(void)Action;
|
||||||
|
|
||||||
switch (CI.getFrontendOpts().ProgramAction) {
|
switch (CI.getFrontendOpts().ProgramAction) {
|
||||||
case ASTDeclList: return new ASTDeclListAction();
|
case ASTDeclList: return new ASTDeclListAction();
|
||||||
|
|
Loading…
Reference in New Issue