Skip to content

Commit

Permalink
Revert 7dfff42 as it broke non-Windows builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronBallman committed Jul 19, 2020
1 parent 7dfff42 commit b79ca34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/CompileCommands.cpp
Expand Up @@ -354,7 +354,7 @@ llvm::ArrayRef<ArgStripper::Rule> ArgStripper::rulesFor(llvm::StringRef Arg) {
#define PREFIX(NAME, VALUE) static const char *const NAME[] = VALUE;
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \
HELP, METAVAR, VALUES) \
if (DriverID::OPT_##ALIAS != DriverID::OPT_INVALID && !ALIASARGS) \
if (DriverID::OPT_##ALIAS != DriverID::OPT_INVALID && ALIASARGS == nullptr) \
AddAlias(DriverID::OPT_##ID, DriverID::OPT_##ALIAS); \
Prefixes[DriverID::OPT_##ID] = PREFIX;
#include "clang/Driver/Options.inc"
Expand Down

0 comments on commit b79ca34

Please sign in to comment.