aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Rewrite/HTMLRewrite.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Rewrite/HTMLRewrite.h')
-rw-r--r--include/clang/Rewrite/HTMLRewrite.h37
1 files changed, 1 insertions, 36 deletions
diff --git a/include/clang/Rewrite/HTMLRewrite.h b/include/clang/Rewrite/HTMLRewrite.h
index dddde01068..0111602612 100644
--- a/include/clang/Rewrite/HTMLRewrite.h
+++ b/include/clang/Rewrite/HTMLRewrite.h
@@ -22,43 +22,8 @@ namespace clang {
class Rewriter;
namespace html {
-
- // Basic operations.
-
- enum Tags { BODY,
- DIV,
- HEAD,
- HTML,
- PRE,
- SPAN,
- STYLE };
-
- void EscapeText(Rewriter& R, unsigned FileID, bool EscapeSpaces = false);
- void InsertTag(Rewriter& R, Tags tag,
- SourceLocation OpenLoc, SourceLocation CloseLoc,
- const char* Attrs = NULL, const char* Content = NULL,
- bool Newline = false,
- bool OpenInsertBefore = true, bool CloseInsertBefore = false);
-
- static inline
- void InsertTagBefore(Rewriter& R, Tags tag,
- SourceLocation OpenLoc, SourceLocation CloseLoc,
- const char* Attrs = NULL, const char* Content = NULL,
- bool Newline = false) {
- InsertTag(R, tag, OpenLoc, CloseLoc, Attrs, Content, Newline, true, true);
- }
-
- static inline
- void InsertOuterTag(Rewriter& R, Tags tag,
- SourceLocation OpenLoc, SourceLocation CloseLoc,
- const char* Attrs = NULL, const char* Content = NULL,
- bool Newline = false) {
-
- InsertTag(R, tag, OpenLoc, CloseLoc, Attrs, Content, Newline, true, false);
- }
-
- // High-level operations.
+ void EscapeText(Rewriter& R, unsigned FileID, bool EscapeSpaces = false);
void AddLineNumbers(Rewriter& R, unsigned FileID);