From 46f973cb9cb11f52554d2eecfa861fd12d8865fc Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 15 Jun 2015 15:40:11 +0000 Subject: [PATCH] .removed DDUMPs git-svn-id: svn://ultimatepp.org/upp/trunk@8548 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CppBase/Qualify.cpp | 9 --------- uppsrc/CppBase/cpp.cpp | 4 +--- uppsrc/ide/Cpp.cpp | 4 +--- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/uppsrc/CppBase/Qualify.cpp b/uppsrc/CppBase/Qualify.cpp index 76cdcea47..b9fd9b827 100644 --- a/uppsrc/CppBase/Qualify.cpp +++ b/uppsrc/CppBase/Qualify.cpp @@ -1,7 +1,5 @@ #include "CppBase.h" -Upp::String GetSourceFilePath(int file); _DBG_ - NAMESPACE_UPP #define LLOG(x) // DLOG(x) @@ -239,13 +237,6 @@ void QualifyPass2(CppBase& base) m.qptype = QualifyIds(nf, m.ptype, m.using_namespaces, true); m.qitem = m.IsCode() ? QualifyIds(nf, m.item, m.using_namespaces, false) : m.item; - if(m.name == "CodeBase") { - DDUMP(m.using_namespaces); - DDUMP(m.qitem); - DDUMP(m.type); - DDUMP(m.qtype); - DDUMP(GetSourceFilePath(m.file)); - } } } } diff --git a/uppsrc/CppBase/cpp.cpp b/uppsrc/CppBase/cpp.cpp index 1f60d0d64..533cbe877 100644 --- a/uppsrc/CppBase/cpp.cpp +++ b/uppsrc/CppBase/cpp.cpp @@ -3,7 +3,7 @@ NAMESPACE_UPP #define LTIMING(x) // RTIMING(x) -#define LLOG(x) DLOG(x) +#define LLOG(x) // DLOG(x) void Cpp::ParamAdd(Vector& param, const char *s, const char *e) { @@ -234,8 +234,6 @@ void Cpp::Do(const String& sourcefile, Stream& in, const String& currentfile, bo if(get_macros) return; - DDUMP(namespace_using); - LTIMING("Expand"); incomment = false; prefix_macro.Clear(); diff --git a/uppsrc/ide/Cpp.cpp b/uppsrc/ide/Cpp.cpp index 960b55994..651b83d2e 100644 --- a/uppsrc/ide/Cpp.cpp +++ b/uppsrc/ide/Cpp.cpp @@ -1,6 +1,6 @@ #include "ide.h" -#if 1 +#if 0 #define LDUMP(x) DDUMP(x) #define LDUMPC(x) DDUMPC(x) #define LLOG(x) DLOG(x) @@ -174,7 +174,6 @@ void AssistEditor::ExpressionType(const String& ttype, const String& usings, int lvl) { LLOG("--- ExpressionType " << scan_counter); - DDUMP(ttype); if(++scan_counter > 500 || lvl > 30) // sort of ugly limitation of parsing permutations return; if(ii >= xp.GetCount()) { @@ -242,7 +241,6 @@ void AssistEditor::ExpressionType(const String& type, const String& usings, cons Index AssistEditor::ExpressionType(const Parser& parser, const Vector& xp) { - DDUMP(xp); String type; Index typeset; if(xp.GetCount() == 0)