Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions clang/lib/Driver/ToolChains/Arch/BPF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Option/ArgList.h"

using namespace clang::driver;
using namespace clang::driver::tools;
using namespace clang;
using namespace llvm::opt;

// Decode AArch64 features from string like +[no]featureA+[no]featureB+...
static bool DecodeBPFFeatures(const Driver &D, StringRef text,
std::vector<StringRef> &Features) {
SmallVector<StringRef, 8> Split;
Expand Down Expand Up @@ -46,7 +44,6 @@ getBPFArchFeaturesFromMarch(const Driver &D, StringRef March,

void bpf::getBPFTargetFeatures(const Driver &D, const ArgList &Args,
std::vector<StringRef> &Features) {
printf("CHECK BPF FEATURES\n");
Arg *A;
bool success = true;
if ((A = Args.getLastArg(options::OPT_march_EQ)))
Expand Down