Skip to content

Commit

Permalink
Trying to call llvm::sys::fs::make_absolute() in Linux and macOS on…
Browse files Browse the repository at this point in the history
… Azure DevOps.
  • Loading branch information
dougpuob committed Jun 14, 2020
1 parent 374d9e8 commit b90cfa8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void LogCheckResult() {
int main(int Argc, const char **Argv) {

cout << endl;
cout << "cppnamelint utility v0.3.1" << endl;
cout << "cppnamelint utility v0.3.3" << endl;
cout << "---------------------------------------------------" << endl;

//
Expand All @@ -283,7 +283,8 @@ int main(int Argc, const char **Argv) {
// Assign input arguments to variables of AppCxt.
//
APP_CONTEXT *pAppCxt = (APP_CONTEXT *)GetAppCxt();
SmallString<512> AbsSrcPath = CheckInputSrc;
StringRef InputPath = CheckInputSrc;
SmallString<1024> AbsSrcPath(InputPath);
llvm::sys::fs::make_absolute(AbsSrcPath);

pAppCxt->MemoBoard.File.Config = CheckInputConfig;
Expand Down

0 comments on commit b90cfa8

Please sign in to comment.