Skip to content

Commit

Permalink
feat: Added the clangd file for indicate that the compile_commands.js…
Browse files Browse the repository at this point in the history
…on is not on the project's root
  • Loading branch information
TheRustifyer committed Feb 22, 2024
1 parent 80cb8a4 commit 9151924
Show file tree
Hide file tree
Showing 67 changed files with 35 additions and 36 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/attr.h.C2A1ED5CDAE81C0B.idx
Binary file not shown.
Binary file added .cache/clangd/index/base.hpp.F1CCD67A71825966.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/cast.h.913A7F5CFE5A33C1.idx
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/class.h.2B6102631727D311.idx
Binary file not shown.
Binary file added .cache/clangd/index/common.h.BAA93509009FE02E.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/cvdef.h.CBC7BC671639FCCD.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/descr.h.DC4E8B17A409A2BF.idx
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/gil.h.EE8FA0F17FF9BA3B.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/mat.hpp.8D2B629FA35FACC8.idx
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/matx.hpp.E356EC0727595491.idx
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/motion.hpp.D280DF012107C993.idx
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/opencv.hpp.C07451B4738DACE0.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/ovx.hpp.24173394C38C2965.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/rlp.cpp.060F614702222176.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/typeid.h.2D43A299ADC49755.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/version.hpp.5E0A9C82D18220CA.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .cache/clangd/index/vision.hpp.9D97B19F5251924A.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CompileFlags:
CompilationDatabase: build
Binary file modified bin/rlp.cp311-mingw_x86_64_clang.pyd
Binary file not shown.
46 changes: 23 additions & 23 deletions code/rumble_lol_plugin/config/rlp_config.hpp
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/**
* @brief Header file for define the project's configuration variables procedurally, so they
* can be included and used later in the source code.
*
* The data that initializes the constant evaluated expresions are just placeholders that
* will be parsed and filled by CMake at build time. This configuration file later will be
* copied to a concrete location in the build folder, and converted into a real CPP header
* @file config.hpp.in
* @author Alex Vergara (alex.vergara.dev@gmail.com)
* @version 0.1.0
* @date 2024-01-03
*/

#pragma once

#include <string_view>

static constexpr std::string_view project_name {"rumble_lol_plugin"};
static constexpr std::string_view project_version {"0.1.0"};

static constexpr std::string_view project_version_major {"0"};
static constexpr std::string_view project_version_minor {"1"};
static constexpr std::string_view project_version_patch {"0"};
/**
* @brief Header file for define the project's configuration variables procedurally, so they
* can be included and used later in the source code.
*
* The data that initializes the constant evaluated expresions are just placeholders that
* will be parsed and filled by CMake at build time. This configuration file later will be
* copied to a concrete location in the build folder, and converted into a real CPP header
* @file config.hpp.in
* @author Alex Vergara (alex.vergara.dev@gmail.com)
* @version 0.1.0
* @date 2024-01-03
*/

#pragma once

#include <string_view>

static constexpr std::string_view project_name {"rumble_lol_plugin"};
static constexpr std::string_view project_version {"0.1.0"};

static constexpr std::string_view project_version_major {"0"};
static constexpr std::string_view project_version_minor {"1"};
static constexpr std::string_view project_version_patch {"0"};
23 changes: 10 additions & 13 deletions code/rumble_lol_plugin/helpers/string.hpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#pragma once

#include <string>
#include <vector>
#include <sstream>
#include <codecvt>
#include <locale>

namespace StringHelper {
std::string to_string(std::wstring wstr);
std::wstring to_wstring(std::string str);
std::vector<std::string>& split_by_delimiter(const std::string& input, char delimiter, std::vector<std::string>& output);
}
#pragma once

#include <string>
#include <vector>

namespace StringHelper {
std::to_string(std::wstring wstr);
std::wstring to_wstring(std::string str);
std::vector<std::string>& split_by_delimiter(const std::string& input, char delimiter, std::vector<std::string>& output);
}

0 comments on commit 9151924

Please sign in to comment.