aboutsummaryrefslogtreecommitdiff
path: root/tools/driver/StandardLibrary.h
blob: 0e641d0115aa3f4521c776c48b6ef404ef80a146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#pragma once
#include "llvm/ADT/SmallString.h"
#include <string>
#include <vector>

// Extracted files live through native linking and runner execution. They are cached per user
// (never deleted); only the fallback temporary directory is removed on destruction.
class StandardLibrary {
    llvm::SmallString<256> Directory;
    bool Temporary = false;
public:
    ~StandardLibrary();
    bool load(std::vector<std::string> &Inputs);
};