Skip to content

Commit

Permalink
Change indent to 4 (#62)
Browse files Browse the repository at this point in the history
Clang Format SPAAAAACES
  • Loading branch information
deepbluev7 authored Sep 3, 2021
1 parent ef741d7 commit a4f4c79
Show file tree
Hide file tree
Showing 196 changed files with 15,091 additions and 14,196 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
Language: Cpp
Standard: Cpp11
AccessModifierOffset: -8
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AllowShortFunctionsOnASingleLine: true
BasedOnStyle: Mozilla
ColumnLimit: 100
IndentCaseLabels: false
IndentWidth: 8
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
PointerAlignment: Right
Cpp11BracedListStyle: true
16 changes: 16 additions & 0 deletions examples/CMakeFiles/CMakeDirectoryInformation.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.18

# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/nicolas/Dokumente/devel/open-source/mtxclient")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/nicolas/Dokumente/devel/open-source/mtxclient")

# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)


# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
33 changes: 33 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/DependInfo.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/nicolas/Dokumente/devel/open-source/mtxclient/examples/crypto_bot.cpp" "/home/nicolas/Dokumente/devel/open-source/mtxclient/examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")

# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"FMT_LOCALE"
"FMT_SHARED"
"JSON_USE_IMPLICIT_CONVERSIONS=1"
"SPDLOG_COMPILED_LIB"
"SPDLOG_FMT_EXTERNAL"
"SPDLOG_SHARED_LIB"
)

# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"examples/../tests"
"include"
)

# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles/matrix_client.dir/DependInfo.cmake"
)

# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
124 changes: 124 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/build.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.18

# Delete rule output on recipe failure.
.DELETE_ON_ERROR:


#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.SUFFIXES:


# Disable VCS-based implicit rules.
% : %,v


# Disable VCS-based implicit rules.
% : RCS/%


# Disable VCS-based implicit rules.
% : RCS/%,v


# Disable VCS-based implicit rules.
% : SCCS/s.%


# Disable VCS-based implicit rules.
% : s.%


.SUFFIXES: .hpux_make_needs_suffix_list


# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s

#Suppress display of executed commands.
$(VERBOSE).SILENT:

# A target that is always out of date.
cmake_force:

.PHONY : cmake_force

#=============================================================================
# Set environment variables for the build.

# The shell in which to execute make rules.
SHELL = /bin/sh

# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake

# The command to remove a file.
RM = /usr/bin/cmake -E rm -f

# Escaping for special characters.
EQUALS = =

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/nicolas/Dokumente/devel/open-source/mtxclient

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/nicolas/Dokumente/devel/open-source/mtxclient

# Include any dependencies generated for this target.
include examples/CMakeFiles/crypto_bot.dir/depend.make

# Include the progress variables for this target.
include examples/CMakeFiles/crypto_bot.dir/progress.make

# Include the compile flags for this target's objects.
include examples/CMakeFiles/crypto_bot.dir/flags.make

examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o: examples/CMakeFiles/crypto_bot.dir/flags.make
examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o: examples/crypto_bot.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o -c /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/crypto_bot.cpp

examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/crypto_bot.dir/crypto_bot.cpp.i"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/crypto_bot.cpp > CMakeFiles/crypto_bot.dir/crypto_bot.cpp.i

examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/crypto_bot.dir/crypto_bot.cpp.s"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/crypto_bot.cpp -o CMakeFiles/crypto_bot.dir/crypto_bot.cpp.s

# Object files for target crypto_bot
crypto_bot_OBJECTS = \
"CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o"

# External object files for target crypto_bot
crypto_bot_EXTERNAL_OBJECTS =

examples/crypto_bot: examples/CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o
examples/crypto_bot: examples/CMakeFiles/crypto_bot.dir/build.make
examples/crypto_bot: /usr/lib64/libspdlog.so.1.8.2
examples/crypto_bot: libmatrix_client.so.0.5.1
examples/crypto_bot: /usr/lib64/libolm.so.3.1.5
examples/crypto_bot: /usr/lib64/libfmt.so.7.1.3
examples/crypto_bot: /usr/lib64/libcoeurl.so
examples/crypto_bot: /usr/lib64/libssl.so
examples/crypto_bot: /usr/lib64/libcrypto.so
examples/crypto_bot: examples/CMakeFiles/crypto_bot.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable crypto_bot"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/crypto_bot.dir/link.txt --verbose=$(VERBOSE)

# Rule to build all files generated by this target.
examples/CMakeFiles/crypto_bot.dir/build: examples/crypto_bot

.PHONY : examples/CMakeFiles/crypto_bot.dir/build

examples/CMakeFiles/crypto_bot.dir/clean:
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && $(CMAKE_COMMAND) -P CMakeFiles/crypto_bot.dir/cmake_clean.cmake
.PHONY : examples/CMakeFiles/crypto_bot.dir/clean

examples/CMakeFiles/crypto_bot.dir/depend:
cd /home/nicolas/Dokumente/devel/open-source/mtxclient && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/nicolas/Dokumente/devel/open-source/mtxclient /home/nicolas/Dokumente/devel/open-source/mtxclient/examples /home/nicolas/Dokumente/devel/open-source/mtxclient /home/nicolas/Dokumente/devel/open-source/mtxclient/examples /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/CMakeFiles/crypto_bot.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/CMakeFiles/crypto_bot.dir/depend

10 changes: 10 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/cmake_clean.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o"
"crypto_bot"
"crypto_bot.pdb"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/crypto_bot.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
2 changes: 2 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/depend.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Empty dependencies file for crypto_bot.
# This may be replaced when dependencies are built.
10 changes: 10 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/flags.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.18

# compile CXX with /usr/bin/c++
CXX_DEFINES = -DFMT_LOCALE -DFMT_SHARED -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB

CXX_INCLUDES = -I/home/nicolas/Dokumente/devel/open-source/mtxclient/examples/../tests -I/home/nicolas/Dokumente/devel/open-source/mtxclient/include

CXX_FLAGS = -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wno-attributes -Wunreachable-code -fPIE -pthread -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -std=gnu++17

1 change: 1 addition & 0 deletions examples/CMakeFiles/crypto_bot.dir/link.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/bin/c++ -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wno-attributes -Wunreachable-code CMakeFiles/crypto_bot.dir/crypto_bot.cpp.o -o crypto_bot -Wl,-rpath,/home/nicolas/Dokumente/devel/open-source/mtxclient /usr/lib64/libspdlog.so.1.8.2 ../libmatrix_client.so.0.5.1 /usr/lib64/libolm.so.3.1.5 /usr/lib64/libfmt.so.7.1.3 -Wl,--as-needed -pthread /usr/lib64/libcoeurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so
3 changes: 3 additions & 0 deletions examples/CMakeFiles/crypto_bot.dir/progress.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 6
CMAKE_PROGRESS_2 = 7

28 changes: 28 additions & 0 deletions examples/CMakeFiles/media_downloader.dir/DependInfo.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_CXX
"/home/nicolas/Dokumente/devel/open-source/mtxclient/examples/media_downloader.cpp" "/home/nicolas/Dokumente/devel/open-source/mtxclient/examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")

# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"JSON_USE_IMPLICIT_CONVERSIONS=1"
)

# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"examples/../tests"
"include"
)

# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
"/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles/matrix_client.dir/DependInfo.cmake"
)

# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
122 changes: 122 additions & 0 deletions examples/CMakeFiles/media_downloader.dir/build.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.18

# Delete rule output on recipe failure.
.DELETE_ON_ERROR:


#=============================================================================
# Special targets provided by cmake.

# Disable implicit rules so canonical targets will work.
.SUFFIXES:


# Disable VCS-based implicit rules.
% : %,v


# Disable VCS-based implicit rules.
% : RCS/%


# Disable VCS-based implicit rules.
% : RCS/%,v


# Disable VCS-based implicit rules.
% : SCCS/s.%


# Disable VCS-based implicit rules.
% : s.%


.SUFFIXES: .hpux_make_needs_suffix_list


# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s

#Suppress display of executed commands.
$(VERBOSE).SILENT:

# A target that is always out of date.
cmake_force:

.PHONY : cmake_force

#=============================================================================
# Set environment variables for the build.

# The shell in which to execute make rules.
SHELL = /bin/sh

# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake

# The command to remove a file.
RM = /usr/bin/cmake -E rm -f

# Escaping for special characters.
EQUALS = =

# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/nicolas/Dokumente/devel/open-source/mtxclient

# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/nicolas/Dokumente/devel/open-source/mtxclient

# Include any dependencies generated for this target.
include examples/CMakeFiles/media_downloader.dir/depend.make

# Include the progress variables for this target.
include examples/CMakeFiles/media_downloader.dir/progress.make

# Include the compile flags for this target's objects.
include examples/CMakeFiles/media_downloader.dir/flags.make

examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.o: examples/CMakeFiles/media_downloader.dir/flags.make
examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.o: examples/media_downloader.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.o"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/media_downloader.dir/media_downloader.cpp.o -c /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/media_downloader.cpp

examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/media_downloader.dir/media_downloader.cpp.i"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/media_downloader.cpp > CMakeFiles/media_downloader.dir/media_downloader.cpp.i

examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/media_downloader.dir/media_downloader.cpp.s"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/media_downloader.cpp -o CMakeFiles/media_downloader.dir/media_downloader.cpp.s

# Object files for target media_downloader
media_downloader_OBJECTS = \
"CMakeFiles/media_downloader.dir/media_downloader.cpp.o"

# External object files for target media_downloader
media_downloader_EXTERNAL_OBJECTS =

examples/media_downloader: examples/CMakeFiles/media_downloader.dir/media_downloader.cpp.o
examples/media_downloader: examples/CMakeFiles/media_downloader.dir/build.make
examples/media_downloader: libmatrix_client.so.0.5.1
examples/media_downloader: /usr/lib64/libcoeurl.so
examples/media_downloader: /usr/lib64/libssl.so
examples/media_downloader: /usr/lib64/libcrypto.so
examples/media_downloader: /usr/lib64/libolm.so.3.1.5
examples/media_downloader: examples/CMakeFiles/media_downloader.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/nicolas/Dokumente/devel/open-source/mtxclient/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable media_downloader"
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/media_downloader.dir/link.txt --verbose=$(VERBOSE)

# Rule to build all files generated by this target.
examples/CMakeFiles/media_downloader.dir/build: examples/media_downloader

.PHONY : examples/CMakeFiles/media_downloader.dir/build

examples/CMakeFiles/media_downloader.dir/clean:
cd /home/nicolas/Dokumente/devel/open-source/mtxclient/examples && $(CMAKE_COMMAND) -P CMakeFiles/media_downloader.dir/cmake_clean.cmake
.PHONY : examples/CMakeFiles/media_downloader.dir/clean

examples/CMakeFiles/media_downloader.dir/depend:
cd /home/nicolas/Dokumente/devel/open-source/mtxclient && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/nicolas/Dokumente/devel/open-source/mtxclient /home/nicolas/Dokumente/devel/open-source/mtxclient/examples /home/nicolas/Dokumente/devel/open-source/mtxclient /home/nicolas/Dokumente/devel/open-source/mtxclient/examples /home/nicolas/Dokumente/devel/open-source/mtxclient/examples/CMakeFiles/media_downloader.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/CMakeFiles/media_downloader.dir/depend

10 changes: 10 additions & 0 deletions examples/CMakeFiles/media_downloader.dir/cmake_clean.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/media_downloader.dir/media_downloader.cpp.o"
"media_downloader"
"media_downloader.pdb"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/media_downloader.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
2 changes: 2 additions & 0 deletions examples/CMakeFiles/media_downloader.dir/depend.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Empty dependencies file for media_downloader.
# This may be replaced when dependencies are built.
Loading

0 comments on commit a4f4c79

Please sign in to comment.