Skip to content

Commit

Permalink
Delete string_view.h
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkryukov committed May 16, 2019
1 parent 246aa7a commit a176277
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ More details about internals are available on [Wiki](https://github.com/MIPT-ILa
We use C++17 features and Boost 1.61. Thus, you have to [use compilers](https://github.com/MIPT-ILab/mipt-mips/wiki/C-compilers) of these versions or newer:
* GCC 7
* Clang 5.0
* Apple LLVM 7.3.0
* Apple LLVM Version 10.0.0
* MS Visual Studio 2017 (Boost 1.66 and CMake 3.10.2 are required)

[Install Boost](https://github.com/MIPT-ILab/mipt-mips/wiki/Required-libraries) before building the project.
Expand Down
2 changes: 1 addition & 1 deletion simulator/func_sim/operation.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

#include <func_sim/traps/trap.h>
#include <infra/macro.h>
#include <infra/string_view.h>
#include <infra/types.h>

#include <cassert>
#include <sstream>
#include <string_view>

enum OperationType : uint8
{
Expand Down
3 changes: 1 addition & 2 deletions simulator/infra/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
#ifndef EXCEPTION_H
#define EXCEPTION_H

#include <infra/string_view.h>

#include <stdexcept>
#include <string>
#include <string_view>

struct Exception : std::runtime_error
{
Expand Down
26 changes: 0 additions & 26 deletions simulator/infra/string_view.h

This file was deleted.

2 changes: 1 addition & 1 deletion simulator/mips/mips_instr.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
#include <func_sim/operation.h>
#include <infra/endian.h>
#include <infra/exception.h>
#include <infra/string_view.h>
#include <infra/types.h>

#include <sstream>
#include <string_view>

template<typename I>
struct MIPSTableEntry;
Expand Down
3 changes: 1 addition & 2 deletions simulator/mips/mips_register/mips_register.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
#ifndef MIPS_REG_H
#define MIPS_REG_H

// MIPT-MIPS modules
#include <infra/macro.h>
#include <infra/string_view.h>
#include <infra/types.h>

#include <array>
#include <cassert>
#include <string_view>
#include <iostream>
#include <utility>

Expand Down
3 changes: 1 addition & 2 deletions simulator/risc_v/riscv_register/riscv_register.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
#ifndef RISCV_REG_H
#define RISCV_REG_H

// MIPT-MIPS modules
#include <infra/macro.h>
#include <infra/string_view.h>
#include <infra/types.h>

#include <array>
#include <cassert>
#include <string_view>
#include <iostream>
#include <utility>

Expand Down

0 comments on commit a176277

Please sign in to comment.