]> granicus.if.org Git - clang/commitdiff
HTML rewriter: Don't replace tabs with spaces by default.
authorTed Kremenek <kremenek@apple.com>
Wed, 18 Mar 2009 18:47:46 +0000 (18:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 18 Mar 2009 18:47:46 +0000 (18:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67221 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Rewrite/HTMLRewrite.h

index 2f5696606e1153cf78cb318d85920f1f8b947710..f49d49e710c9a7b9d9ab99b63f2027e725710fbd 100644 (file)
@@ -52,14 +52,14 @@ namespace html {
   /// EscapeText - HTMLize a specified file so that special characters are
   /// are translated so that they are not interpreted as HTML tags.
   void EscapeText(Rewriter& R, FileID FID,
-                  bool EscapeSpaces = false, bool ReplacesTabs = true);
+                  bool EscapeSpaces = false, bool ReplaceTabs = false);
 
   /// EscapeText - HTMLized the provided string so that special characters
   ///  in 's' are not interpreted as HTML tags.  Unlike the version of
   ///  EscapeText that rewrites a file, this version by default replaces tabs
   ///  with spaces.
   std::string EscapeText(const std::string& s,
-                         bool EscapeSpaces = false, bool ReplaceTabs = true);
+                         bool EscapeSpaces = false, bool ReplaceTabs = false);
 
   void AddLineNumbers(Rewriter& R, FileID FID);