Secondary formatting changes (#489)
Description of the changes: Adjusted some of the values in .clang-format Add clang-format-all.ps1 Fix path to .clang-format in Calculator.sln How changes were validated: Manual.
This commit is contained in:
		| @@ -26,8 +26,11 @@ namespace CalculatorApp | ||||
|     { | ||||
|     public: | ||||
|         static void CopyToClipboard(Platform::String ^ stringToCopy); | ||||
|         static concurrency::task<Platform::String ^> GetStringToPaste(CalculatorApp::Common::ViewMode mode, CalculatorApp::Common::CategoryGroupType modeType, | ||||
|                                                                       int programmerNumberBase = -1, int bitLengthType = -1); | ||||
|         static concurrency::task<Platform::String ^> GetStringToPaste( | ||||
|             CalculatorApp::Common::ViewMode mode, | ||||
|             CalculatorApp::Common::CategoryGroupType modeType, | ||||
|             int programmerNumberBase = -1, | ||||
|             int bitLengthType = -1); | ||||
|         static bool HasStringToPaste() | ||||
|         { | ||||
|             return ClipboardTextFormat() >= 0; | ||||
| @@ -40,20 +43,34 @@ namespace CalculatorApp | ||||
|         static Platform::String | ||||
|             ^ ValidatePasteExpression(Platform::String ^ pastedText, CalculatorApp::Common::ViewMode mode, int programmerNumberBase, int bitLengthType); | ||||
|         static Platform::String | ||||
|             ^ ValidatePasteExpression(Platform::String ^ pastedText, CalculatorApp::Common::ViewMode mode, CalculatorApp::Common::CategoryGroupType modeType, | ||||
|                                       int programmerNumberBase, int bitLengthType); | ||||
|             ^ ValidatePasteExpression( | ||||
|                 Platform::String ^ pastedText, | ||||
|                 CalculatorApp::Common::ViewMode mode, | ||||
|                 CalculatorApp::Common::CategoryGroupType modeType, | ||||
|                 int programmerNumberBase, | ||||
|                 int bitLengthType); | ||||
|  | ||||
|         static std::vector<std::wstring> ExtractOperands(const std::wstring& pasteExpression, CalculatorApp::Common::ViewMode mode, | ||||
|                                                          int programmerNumberBase = -1, int bitLengthType = -1); | ||||
|         static bool ExpressionRegExMatch(std::vector<std::wstring> operands, CalculatorApp::Common::ViewMode mode, | ||||
|                                          CalculatorApp::Common::CategoryGroupType modeType, int programmerNumberBase = -1, int bitLengthType = -1); | ||||
|         static std::vector<std::wstring> | ||||
|         ExtractOperands(const std::wstring& pasteExpression, CalculatorApp::Common::ViewMode mode, int programmerNumberBase = -1, int bitLengthType = -1); | ||||
|         static bool ExpressionRegExMatch( | ||||
|             std::vector<std::wstring> operands, | ||||
|             CalculatorApp::Common::ViewMode mode, | ||||
|             CalculatorApp::Common::CategoryGroupType modeType, | ||||
|             int programmerNumberBase = -1, | ||||
|             int bitLengthType = -1); | ||||
|  | ||||
|         static std::pair<size_t, uint64_t> GetMaxOperandLengthAndValue(CalculatorApp::Common::ViewMode mode, CalculatorApp::Common::CategoryGroupType modeType, | ||||
|                                                                        int programmerNumberBase = -1, int bitLengthType = -1); | ||||
|         static std::pair<size_t, uint64_t> GetMaxOperandLengthAndValue( | ||||
|             CalculatorApp::Common::ViewMode mode, | ||||
|             CalculatorApp::Common::CategoryGroupType modeType, | ||||
|             int programmerNumberBase = -1, | ||||
|             int bitLengthType = -1); | ||||
|         static std::wstring SanitizeOperand(const std::wstring& operand); | ||||
|         static bool TryOperandToULL(const std::wstring& operand, int numberBase, unsigned long long int& result); | ||||
|         static size_t OperandLength(const std::wstring& operand, CalculatorApp::Common::ViewMode mode, CalculatorApp::Common::CategoryGroupType modeType, | ||||
|                                     int programmerNumberBase = -1); | ||||
|         static size_t OperandLength( | ||||
|             const std::wstring& operand, | ||||
|             CalculatorApp::Common::ViewMode mode, | ||||
|             CalculatorApp::Common::CategoryGroupType modeType, | ||||
|             int programmerNumberBase = -1); | ||||
|         static size_t StandardScientificOperandLength(const std::wstring& operand); | ||||
|         static size_t ProgrammerOperandLength(const std::wstring& operand, int numberBase); | ||||
|         static std::wstring RemoveUnwantedCharsFromWstring(const std::wstring& input); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user