File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class ToolArgs
63
63
This is a global variable because of how the
64
64
LLVM command line interface is designed.
65
65
*/
66
- constexpr ToolArgs& toolArgs = ToolArgs::instance_;
66
+ constexpr static ToolArgs& toolArgs = ToolArgs::instance_;
67
67
68
68
} // mrdox
69
69
} // clang
Original file line number Diff line number Diff line change 37
37
#include < mrdox/Support/Path.hpp>
38
38
#include < mrdox/Support/Report.hpp>
39
39
#include < mrdox/Version.hpp>
40
- #include < llvm/Support/Filesystem .h>
40
+ #include < llvm/Support/FileSystem .h>
41
41
#include < llvm/Support/Process.h>
42
42
#include < llvm/Support/raw_ostream.h>
43
43
#include < llvm/Support/Signals.h>
@@ -99,7 +99,7 @@ int main(int argc, char const** argv)
99
99
else
100
100
{
101
101
// check process working directory
102
- addonsDir = fs::getMainExecutable (argv[0 ], &main);
102
+ addonsDir = fs::getMainExecutable (argv[0 ], reinterpret_cast < void *>( &main) );
103
103
if (addonsDir.empty ())
104
104
{
105
105
reportError (
You can’t perform that action at this time.
0 commit comments