r373504 - [Stencil] Hide implementaion detai. NFC.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 2 11:33:44 PDT 2019
Author: d0k
Date: Wed Oct 2 11:33:44 2019
New Revision: 373504
URL: http://llvm.org/viewvc/llvm-project?rev=373504&view=rev
Log:
[Stencil] Hide implementaion detai. NFC.
Modified:
cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp
Modified: cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp?rev=373504&r1=373503&r2=373504&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp (original)
+++ cfe/trunk/lib/Tooling/Refactoring/Stencil.cpp Wed Oct 2 11:33:44 2019
@@ -82,7 +82,6 @@ struct IfBoundData {
StencilPart TruePart;
StencilPart FalsePart;
};
-} // namespace
bool isEqualData(const RawTextData &A, const RawTextData &B) {
return A.Text == B.Text;
@@ -203,6 +202,7 @@ public:
return false;
}
};
+} // namespace
StencilPart Stencil::wrap(StringRef Text) {
return stencil::text(Text);
More information about the cfe-commits
mailing list