summaryrefslogtreecommitdiff
path: root/tools/libclang/CLog.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libclang/CLog.h')
-rw-r--r--tools/libclang/CLog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CLog.h b/tools/libclang/CLog.h
index b9309ed19239..e1d6a57e4a01 100644
--- a/tools/libclang/CLog.h
+++ b/tools/libclang/CLog.h
@@ -98,6 +98,6 @@ public:
/// \endcode
#define LOG_SECTION(NAME) \
if (clang::cxindex::LogRef Log = clang::cxindex::Logger::make(NAME))
-#define LOG_FUNC_SECTION LOG_SECTION(LLVM_FUNCTION_NAME)
+#define LOG_FUNC_SECTION LOG_SECTION(__func__)
#endif