#include "CLog.h"
#include "clang/AST/DeclObjC.h"
#include "clang/Frontend/ASTUnit.h"
+#include "llvm/Support/Compiler.h"
using namespace clang;
using namespace cxcursor;
void clang_findReferencesInFile(CXCursor cursor, CXFile file,
CXCursorAndRangeVisitor visitor) {
- LogRef Log = Logger::make(__func__);
+ LogRef Log = Logger::make(LLVM_FUNCTION_NAME);
if (clang_Cursor_isNull(cursor)) {
if (Log)
#include "CXString.h"
#include "CXTranslationUnit.h"
#include "CLog.h"
+#include "llvm/Support/Compiler.h"
#include "llvm/Support/Format.h"
using namespace clang;
if (!tu || !file)
return clang_getNullLocation();
- LogRef Log = Logger::make(__func__);
+ LogRef Log = Logger::make(LLVM_FUNCTION_NAME);
ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData);
ASTUnit::ConcurrencyCheck Check(*CXXUnit);
const FileEntry *File = static_cast<const FileEntry *>(file);