Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef PXR_BASE_ARCH_FUNCTION_LITE_H
8#define PXR_BASE_ARCH_FUNCTION_LITE_H
18#include "pxr/base/arch/defines.h"
21#define __ARCH_FUNCTION__ __func__
23#if defined(ARCH_COMPILER_GCC) || defined(ARCH_COMPILER_ICC) || \
24 defined(ARCH_COMPILER_CLANG)
25# define __ARCH_PRETTY_FUNCTION__ __PRETTY_FUNCTION__
26#elif defined(ARCH_COMPILER_MSVC)
27# define __ARCH_PRETTY_FUNCTION__ __FUNCSIG__
29# define __ARCH_PRETTY_FUNCTION__ __ARCH_FUNCTION__
33#if defined(BUILD_COMPONENT_SRC_PREFIX)
34# define __ARCH_FILE__ BUILD_COMPONENT_SRC_PREFIX __FILE__
36# define __ARCH_FILE__ __FILE__