]> granicus.if.org Git - clang/commit
[libclang] Enhance logging capabilities of libclang.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 10 Jan 2013 18:54:52 +0000 (18:54 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 10 Jan 2013 18:54:52 +0000 (18:54 +0000)
commitc6f5c6a58d34833d1fe458a518d5f59462926c7b
tree4d0ff3cd0e3a1a64017e966b5e127548633bdc60
parent30f3b450c63a99ff5eef24b45cd999f8c2cf9b91
[libclang] Enhance logging capabilities of libclang.

-provide a "raw_ostream'ish" class to make it convenient to output logging info.
-use macros to automate a bit the logging functionality inside libclang functions
-when logging, print a stack trace if "LIBCLANG_LOGGING=2" environment is set.
-add logging to more functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172089 91177308-0d34-0410-b5e6-96231b3b80d8
tools/libclang/CIndex.cpp
tools/libclang/CIndexCodeCompletion.cpp
tools/libclang/CIndexHigh.cpp
tools/libclang/CXSourceLocation.cpp
tools/libclang/Indexing.cpp