forked from andreasfertig/cppinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInsightsBase.cpp
More file actions
22 lines (17 loc) · 775 Bytes
/
InsightsBase.cpp
File metadata and controls
22 lines (17 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/******************************************************************************
*
* C++ Insights, copyright (C) by Andreas Fertig
* Distributed under an MIT license. See LICENSE for details
*
****************************************************************************/
#include "clang/Rewrite/Core/Rewriter.h"
#include "InsightsBase.h"
#include "OutputFormatHelper.h"
//-----------------------------------------------------------------------------
namespace clang::insights {
void InsightsBase::InsertIndentedText(SourceLocation loc, OutputFormatHelper& outputFormatHelper)
{
mRewrite.InsertText(loc, outputFormatHelper.GetString(), true, true);
}
//-----------------------------------------------------------------------------
} // namespace clang::insights