mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-22 14:22:32 -06:00
Merge branch 'clang_tidy' of https://github.com/ultimatepp/ultimatepp into clang_tidy
This commit is contained in:
commit
9099ac2d0b
2 changed files with 5 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ bool ClangTidyDlg::HasClangTidy()
|
|||
String p = "clang-tidy";
|
||||
#endif
|
||||
String s = Sys(p + " -checks=* --list-checks");
|
||||
DDUMP(s);
|
||||
if(s.GetCount()) {
|
||||
path = p;
|
||||
for(String l : Split(s, '\n')) {
|
||||
|
|
@ -106,13 +107,14 @@ bool ClangTidyDlg::HasClangTidy()
|
|||
groups.FindAdd(s);
|
||||
}
|
||||
Load(ClangTidyConfigPath());
|
||||
break;
|
||||
goto exit; // break not compatible with POSIX
|
||||
}
|
||||
|
||||
#ifdef PLATFORM_WIN32
|
||||
}
|
||||
#endif
|
||||
}
|
||||
exit:
|
||||
return path.GetCount() && options.GetCount();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -435,6 +435,8 @@ void AppMain___()
|
|||
clset=true;
|
||||
}
|
||||
|
||||
ide.HasClangTidy(); _DBG_
|
||||
|
||||
ide.LoadAbbr();
|
||||
|
||||
DelTemps();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue