calculator/src/CalcViewModel
Oleg Abrazhaev 2826d37056 Fix the project code style, as it is not consistent. (#236)
Fixes #202
This PR fixes code style for the project files.

The Problem
Different files in the project use different code style. That is not consistent and leads to harder maintenance of the project.

Description of the changes:
Have investigated and determined the most used code style across the given codebase
Have configured IDE and applied code style to all project files.
Have crafted clang-formatter config.
see https://clang.llvm.org/docs/ClangFormat.html
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
Some cases were fixed manually
How changes were validated:
manual/ad-hoc testing, automated testing

All tests pass as before because these are only code style changes.
Additional
Please review, and let me know if I have any mistake in the code style. In case of any mistake, I will change the configuration and re-apply it to the project.
2019-05-02 11:59:19 -07:00
..
Common Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
DataLoaders Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
ApplicationViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
ApplicationViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
CalcViewModel.vcxproj Build with /W4 (#197) 2019-03-08 23:15:28 -08:00
CalcViewModel.vcxproj.filters Clean up project structure in Visual Studio (#8) 2019-02-04 11:52:28 -08:00
DateCalculatorViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
DateCalculatorViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
HistoryItemViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
HistoryItemViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
HistoryViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
HistoryViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
MemoryItemViewModel.cpp Hello GitHub 2019-01-28 16:24:37 -08:00
MemoryItemViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
packages.config Hello GitHub 2019-01-28 16:24:37 -08:00
pch.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
pch.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
StandardCalculatorViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
StandardCalculatorViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
targetver.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
UnitConverterViewModel.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
UnitConverterViewModel.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
ViewState.cpp Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
ViewState.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00