Make ParseGenericParams() and FindTypeInModule() static in expr.cpp
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Wed, 7 Feb 2018 13:00:38 +0000 (16:00 +0300)
committerAndrey Okoshkin <a.okoshkin@samsung.com>
Thu, 8 Feb 2018 13:10:13 +0000 (16:10 +0300)
These functions are for local use only.

src/debug/netcoredbg/expr.cpp

index c3477a2b1aab06056c915486c479520bd65ed469..85700b0990e6b9b1d5c1584a2a0acede001c3d8c 100644 (file)
@@ -401,7 +401,7 @@ static std::vector<std::string> ParseGenericParams(const std::string &part, std:
     return result;
 }
 
-std::vector<std::string> GatherParameters(const std::vector<std::string> &parts, int indexEnd)
+static std::vector<std::string> GatherParameters(const std::vector<std::string> &parts, int indexEnd)
 {
     std::vector<std::string> result;
     for (int i = 0; i < indexEnd; i++)
@@ -413,7 +413,7 @@ std::vector<std::string> GatherParameters(const std::vector<std::string> &parts,
     return result;
 }
 
-HRESULT FindTypeInModule(ICorDebugModule *pModule, const std::vector<std::string> &parts, int &nextPart, mdTypeDef &typeToken)
+static HRESULT FindTypeInModule(ICorDebugModule *pModule, const std::vector<std::string> &parts, int &nextPart, mdTypeDef &typeToken)
 {
     HRESULT Status;