Skip to content

Instantly share code, notes, and snippets.

@nwgh
Last active July 25, 2017 23:25
Show Gist options
  • Save nwgh/1b0a179d2f6919a305393c8a894c6068 to your computer and use it in GitHub Desktop.
Save nwgh/1b0a179d2f6919a305393c8a894c6068 to your computer and use it in GitHub Desktop.
c_cpp_properties.json
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include/machine",
"/usr/include",
"${workspaceRoot}/netwerk/base",
"${workspaceRoot}/obj-dbg/dist/include",
"${workspaceRoot}/obj-dbg/dist/include/nspr",
"${workspaceRoot}/obj-dbg/ipc/ipdl/_ipdlheaders",
"${workspaceRoot}/obj-dbg/dist/include/nss",
"${workspaceRoot}/ipc/chromium/src"
],
"browse": {
"path": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/8.1.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include/machine",
"/usr/include",
"${workspaceRoot}/netwerk/base",
"${workspaceRoot}/obj-dbg/dist/include",
"${workspaceRoot}/obj-dbg/dist/include/nspr",
"${workspaceRoot}/obj-dbg/ipc/ipdl/_ipdlheaders",
"${workspaceRoot}/obj-dbg/dist/include/nss",
"${workspaceRoot}/ipc/chromium/src"
]
},
"defines":[
"DEBUG=1",
"OS_POSIX=1",
"OS_MACOSX=1",
"STATIC_EXPORTABLE_JS_API",
"MOZ_HAS_MOZGLUE",
"MOZILLA_INTERNAL_API",
"IMPL_LIBXUL",
"MOZILLA_CLIENT",
"MOZILLA_CONFIG_H",
"A11Y_LOG=1",
"ACCESSIBILITY=1",
"BUILD_CTYPES=1",
"CROSS_COMPILE",
"D_INO=d_ino",
"E10S_TESTING_ONLY=1",
"EARLY_BETA_OR_EARLIER=1",
"ENABLE_INTL_API=1",
"ENABLE_SYSTEM_EXTENSION_DIRS=1",
"ENABLE_TESTS=1",
"EXPOSE_INTL_API=1",
"FIREFOX_VERSION=56.0a1",
"FORCE_PR_LOG=1",
"GTEST_HAS_RTTI=0",
"HAVE_64BIT_BUILD=1",
"HAVE_ALLOCA_H=1",
"HAVE_ARC4RANDOM=1",
"HAVE_ARC4RANDOM_BUF=1",
"HAVE_CPUID_H=1",
"HAVE_DIRENT_H=1",
"HAVE_DLADDR=1",
"HAVE_GETOPT_H=1",
"HAVE_GMTIME_R=1",
"HAVE_I18N_LC_MESSAGES=1",
"HAVE_INTTYPES_H=1",
"HAVE_LANGINFO_CODESET=1",
"HAVE_LCHOWN=1",
"HAVE_LOCALECONV=1",
"HAVE_LOCALTIME_R=1",
"HAVE_LSTAT64=1",
"HAVE_MEMMEM=1",
"HAVE_NETINET_IN_H=1",
"HAVE_NL_TYPES_H=1",
"HAVE_POSIX_MEMALIGN=1",
"HAVE_PTHREAD_H=1",
"HAVE_SA_LEN=1",
"HAVE_SCONN_LEN=1",
"HAVE_SETPRIORITY=1",
"HAVE_SIN6_LEN=1",
"HAVE_SIN_LEN=1",
"HAVE_STAT64=1",
"HAVE_STDINT_H=1",
"HAVE_STRERROR=1",
"HAVE_STRNDUP=1",
"HAVE_STRNDUP=1",
"HAVE_SYSCALL=1",
"HAVE_SYS_QUEUE_H=1",
"HAVE_SYS_TYPES_H=1",
"HAVE_THREAD_TLS_KEYWORD=1",
"HAVE_UNISTD_H=1",
"HAVE_VALLOC=1",
"HAVE_VA_COPY=1",
"HAVE_VA_LIST_AS_ARRAY=1",
"HAVE_VISIBILITY_ATTRIBUTE=1",
"HAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1",
"HAVE__UNWIND_BACKTRACE=1",
"HAVE___CXA_DEMANGLE=1",
"JS_DEFAULT_JITREPORT_GRANULARITY=3",
"MALLOC_H=<malloc/malloc.h>",
"MALLOC_USABLE_SIZE_CONST_PTR=const",
"MOZILLA_UAVERSION=\"56.0\"",
"MOZILLA_VERSION=\"56.0a1\"",
"MOZILLA_VERSION_U=\"56.0a1\"",
"MOZ_ADDON_SIGNING=1",
"MOZ_ALLOW_LEGACY_EXTENSIONS=1",
"MOZ_APPLEMEDIA=1",
"MOZ_APP_UA_NAME=\"\"",
"MOZ_APP_UA_VERSION=\"56.0a1\"",
"MOZ_AVI=1",
"MOZ_B2G_OS_NAME=\"\"",
"MOZ_B2G_VERSION=\"1.0.0\"",
"MOZ_BUILD_APP=browser",
"MOZ_BUILD_WEBRENDER=1",
"MOZ_CONTENT_SANDBOX=1",
"MOZ_CRASHREPORTER=1",
"MOZ_CRASHREPORTER_ENABLE_PERCENT=100",
"MOZ_DATA_REPORTING=1",
"MOZ_DEBUG_RUST=1",
"MOZ_DEMANGLE_SYMBOLS=1",
"MOZ_DISTRIBUTION_ID=\"org.mozilla\"",
"MOZ_DLL_SUFFIX=\".dylib\"",
"MOZ_DUMP_PAINTING=1",
"MOZ_ENABLE_MASK_AS_SHORTHAND=1",
"MOZ_ENABLE_SIGNMAR=1",
"MOZ_ENABLE_SKIA=1",
"MOZ_ENABLE_SKIA_PDF=1",
"MOZ_ENABLE_SKIA_PDF_SFNTLY=1",
"MOZ_FEEDS=1",
"MOZ_FFMPEG=1",
"MOZ_FFVPX=1",
"MOZ_FMP4=1",
"MOZ_GECKO_PROFILER=1",
"MOZ_GMP_SANDBOX=1",
"MOZ_INSTRUMENT_EVENT_LOOP=1",
"MOZ_LIBAV_FFT=1",
"MOZ_LOGGING=1",
"MOZ_MACBUNDLE_ID=org.mozilla.nightlydebug",
"MOZ_MEMORY=1",
"MOZ_MEMORY_DARWIN=1",
"MOZ_PEERCONNECTION=1",
"MOZ_PERMISSIONS=1",
"MOZ_PHOENIX=1",
"MOZ_PHOTON_ANIMATIONS=1",
"MOZ_PHOTON_THEME=1",
"MOZ_PLACES=1",
"MOZ_PROFILING=1",
"MOZ_RAW=1",
"MOZ_REFLOW_PERF=1",
"MOZ_REFLOW_PERF_DSP=1",
"MOZ_REPLACE_MALLOC=1",
"MOZ_RUST_URLPARSE=1",
"MOZ_SAMPLE_TYPE_FLOAT32=1",
"MOZ_SANDBOX=1",
"MOZ_SCTP=1",
"MOZ_SECUREELEMENT=1",
"MOZ_SERVICES_HEALTHREPORT=1",
"MOZ_SRTP=1",
"MOZ_STATIC_JS=1",
"MOZ_TREE_CAIRO=1",
"MOZ_TREE_PIXMAN=1",
"MOZ_UPDATER=1",
"MOZ_UPDATE_CHANNEL=default",
"MOZ_USER_DIR=\"Mozilla\"",
"MOZ_VORBIS=1",
"MOZ_VPX_NO_MEM_REPORTING=1",
"MOZ_WEBM_ENCODER=1",
"MOZ_WEBRTC=1",
"MOZ_WEBRTC_ASSERT_ALWAYS=1",
"MOZ_WEBRTC_SIGNALING=1",
"MOZ_WEBSPEECH=1",
"MOZ_WEBSPEECH_TEST_BACKEND=1",
"MOZ_WIDGET_COCOA=1",
"MOZ_XUL=1",
"NIGHTLY_BUILD=1",
"NO_NSPR_10_SUPPORT=1",
"NS_PRINTING=1",
"NS_PRINT_PREVIEW=1",
"STATIC_JS_API=1",
"STDC_HEADERS=1",
"TARGET_XPCOM_ABI=\"x86_64-gcc3\"",
"USE_SKIA=1",
"USE_SKIA_GPU=1",
"U_STATIC_IMPLEMENTATION=1",
"U_USING_ICU_NAMESPACE=0",
"VA_COPY=va_copy",
"VPX_X86_ASM=1",
"XP_DARWIN=1",
"XP_MACOSX=1",
"XP_UNIX=1",
"X_DISPLAY_MISSING=1",
"__STDC_LIMIT_MACROS",
"__STDC_CONSTANT_MACROS",
"__STDC_FORMAT_MACROS",
"char16ptr_t=const char16_t*"
],
"intelliSenseMode": "clang-x64"
},
{
"name": "Linux",
"includePath": [
"/usr/include/c++/6.3.1",
"/usr/include/c++/6.3.1/x86_64-redhat-linux",
"/usr/include/c++/6.3.1/backward",
"/usr/local/include",
"/home/nwgh/.local/clang/3.8.0/bin/../lib/clang/3.8.0/include",
"/usr/include",
"${workspaceRoot}/dom/base",
"${workspaceRoot}/netwerk/base",
"${workspaceRoot}/netwerk/protocol/http",
"${workspaceRoot}/obj-dbg-noopt/dist/include",
"${workspaceRoot}/obj-dbg-noopt/dist/include/nspr",
"${workspaceRoot}/obj-dbg-noopt/ipc/ipdl/_ipdlheaders",
"${workspaceRoot}/obj-dbg-noopt/dist/include/nss",
"${workspaceRoot}/obj-dbg-noopt/dist/stl_wrappers",
"${workspaceRoot}/obj-dbg-noopt/dist/system_wrappers",
"${workspaceRoot}/ipc/glue",
"${workspaceRoot}/ipc/chromium/src"
],
"browse": {
"path": [
"/usr/include/c++/6.3.1",
"/usr/include/c++/6.3.1/x86_64-redhat-linux",
"/usr/include/c++/6.3.1/backward",
"/usr/local/include",
"/home/nwgh/.local/clang/3.8.0/bin/../lib/clang/3.8.0/include",
"/usr/include",
"${workspaceRoot}/dom/base",
"${workspaceRoot}/netwerk/base",
"${workspaceRoot}/netwerk/protocol/http",
"${workspaceRoot}/obj-dbg-noopt/dist/include",
"${workspaceRoot}/obj-dbg-noopt/dist/include/nspr",
"${workspaceRoot}/obj-dbg-noopt/ipc/ipdl/_ipdlheaders",
"${workspaceRoot}/obj-dbg-noopt/dist/include/nss",
"${workspaceRoot}/obj-dbg-noopt/dist/stl_wrappers",
"${workspaceRoot}/obj-dbg-noopt/dist/system_wrappers",
"${workspaceRoot}/ipc/glue",
"${workspaceRoot}/ipc/chromium/src"
]
},
"defines":[
"DEBUG=1",
"OS_POSIX=1",
"OS_LINUX=1",
"STATIC_EXPORTABLE_JS_API",
"MOZ_HAS_MOZGLUE",
"MOZILLA_INTERNAL_API",
"IMPL_LIBXUL",
"MOZILLA_CLIENT",
"MOZILLA_CONFIG_H",
"A11Y_LOG=1",
"ACCESSIBILITY=1",
"ATK_MAJOR_VERSION=2",
"ATK_MINOR_VERSION=22",
"ATK_REV_VERSION=0",
"BUILD_CTYPES=1",
"CROSS_COMPILE",
"D_INO=d_ino",
"E10S_TESTING_ONLY=1",
"EARLY_BETA_OR_EARLIER=1",
"ENABLE_INTL_API=1",
"ENABLE_SYSTEM_EXTENSION_DIRS=1",
"ENABLE_TESTS=1",
"EXPOSE_INTL_API=1",
"FIREFOX_VERSION=56.0a1",
"FORCE_PR_LOG=1",
"FUNCPROTO=15",
"GDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4",
"GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32",
"GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26",
"GL_PROVIDER_GLX=1",
"GTEST_HAS_RTTI=0",
"HAVE_64BIT_BUILD=1",
"HAVE_ALLOCA_H=1",
"HAVE_BYTESWAP_H=1",
"HAVE_CLOCK_MONOTONIC=1",
"HAVE_CPUID_H=1",
"HAVE_DIRENT_H=1",
"HAVE_DLADDR=1",
"HAVE_DLOPEN=1",
"HAVE_FONTCONFIG_FCFREETYPE_H=1",
"HAVE_FT_BITMAP_SIZE_Y_PPEM=1",
"HAVE_FT_GLYPHSLOT_EMBOLDEN=1",
"HAVE_FT_LOAD_SFNT_TABLE=1",
"HAVE_GETOPT_H=1",
"HAVE_GMTIME_R=1",
"HAVE_I18N_LC_MESSAGES=1",
"HAVE_INTTYPES_H=1",
"HAVE_LANGINFO_CODESET=1",
"HAVE_LCHOWN=1",
"HAVE_LINUX_IF_ADDR_H=1",
"HAVE_LINUX_PERF_EVENT_H=1",
"HAVE_LINUX_QUOTA_H=1",
"HAVE_LINUX_RTNETLINK_H=1",
"HAVE_LOCALECONV=1",
"HAVE_LOCALTIME_R=1",
"HAVE_LSTAT64=1",
"HAVE_MALLINFO=1",
"HAVE_MALLOC_H=1",
"HAVE_MALLOC_USABLE_SIZE=1",
"MAVE_MEMALIGN=1",
"HAVE_MEMMEM=1",
"HAVE_NETINET_IN_H=1",
"HAVE_NL_TYPES_H=1",
"HAVE_POSIX_FADVISE=1",
"HAVE_POSIX_FALLOCATE=1",
"HAVE_POSIX_MEMALIGN=1",
"HAVE_PTHREAD_H=1",
"HAVE_RES_NINIT=1",
"HAVE_SETPRIORITY=1",
"HAVE_STAT64=1",
"HAVE_STDINT_H=1",
"HAVE_STRERROR=1",
"HAVE_STRNDUP=1",
"HAVE_SYSCALL=1",
"HAVE_SYS_QUEUE_H=1",
"HAVE_SYS_QUOTA_H=1",
"HAVE_SYS_TYPES_H=1",
"HAVE_THREAD_TLS_KEYWORD=1",
"HAVE_TRUNCATE64=1",
"HAVE_UNISTD_H=1",
"HAVE_VALLOC=1",
"HAVE_VA_COPY=1",
"HAVE_VA_LIST_AS_ARRAY=1",
"HAVE_VISIBILITY_ATTRIBUTE=1",
"HAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1",
"HAVE__UNWIND_BACKTRACE=1",
"HAVE___CXA_DEMANGLE=1",
"JS_DEFAULT_JITREPORT_GRANULARITY=3",
"MALLOC_H=<malloc.h>",
"MALLOC_USABLE_SIZE_CONST_PTR=const",
"MOZILLA_UAVERSION=\"56.0\"",
"MOZILLA_VERSION=\"56.0a1\"",
"MOZILLA_VERSION_U=\"56.0a1\"",
"MOZ_ACCESSIBILITY_ATK=1",
"MOZ_ADDON_SIGNING=1",
"MOZ_ALLOW_LEGACY_EXTENSIONS=1",
"MOZ_APP_UA_NAME=\"\"",
"MOZ_APP_UA_VERSION=\"56.0a1\"",
"MOZ_AVI=1",
"MOZ_B2G_OS_NAME=\"\"",
"MOZ_B2G_VERSION=\"1.0.0\"",
"MOZ_BUILD_APP=browser",
"MOZ_BUILD_WEBRENDER=1",
"MOZ_BUNDLED_FONTS=1",
"MOZ_CONTENT_SANDBOX=1",
"MOZ_CRASHREPORTER=1",
"MOZ_CRASHREPORTER_ENABLE_PERCENT=100",
"MOZ_DATA_REPORTING=1",
"MOZ_DEBUG_RUST=1",
"MOZ_DEMANGLE_SYMBOLS=1",
"MOZ_DISTRIBUTION_ID=\"org.mozilla\"",
"MOZ_DLL_SUFFIX=\".so\"",
"MOZ_DUMP_PAINTING=1",
"MOZ_ENABLE_DBUS=1",
"MOZ_ENABLE_GCONF=1",
"MOZ_ENABLE_MASK_AS_SHORTHAND=1",
"MOZ_ENABLE_SIGNMAR=1",
"MOZ_ENABLE_SKIA=1",
"MOZ_ENABLE_SKIA_PDF=1",
"MOZ_ENABLE_SKIA_PDF_SFNTLY=1",
"MOZ_ENABLE_XREMOTE=1",
"MOZ_FEEDS=1",
"MOZ_FFMPEG=1",
"MOZ_FFVPX=1",
"MOZ_FMP4=1",
"MOZ_GECKO_PROFILER=1",
"MOZ_GLUE_IN_PROGRAM=1",
"MOZ_GMP_SANDBOX=1",
"MOZ_INSTRUMENT_EVENT_LOOP=1",
"MOZ_LIBAV_FFT=1",
"MOZ_LOGGING=1",
"MOZ_MACBUNDLE_ID=org.mozilla.nightlydebug",
"MOZ_MEMORY=1",
"MOZ_MEMORY_LINUX=1",
"MOZ_PEERCONNECTION=1",
"MOZ_PERMISSIONS=1",
"MOZ_PHOENIX=1",
"MOZ_PHOTON_ANIMATIONS=1",
"MOZ_PHOTON_THEME=1",
"MOZ_PLACES=1",
"MOZ_PROFILING=1",
"MOZ_PULSEAUDIO=1",
"MOZ_RAW=1",
"MOZ_REFLOW_PERF=1",
"MOZ_REFLOW_PERF_DSP=1",
"MOZ_REPLACE_MALLOC=1",
"MOZ_RUST_URLPARSE=1",
"MOZ_SAMPLE_TYPE_FLOAT32=1",
"MOZ_SANDBOX=1",
"MOZ_SCTP=1",
"MOZ_SECUREELEMENT=1",
"MOZ_SERVICES_HEALTHREPORT=1",
"MOZ_SRTP=1",
"MOZ_STATIC_JS=1",
"MOZ_TREE_CAIRO=1",
"MOZ_TREE_PIXMAN=1",
"MOZ_UPDATER=1",
"MOZ_UPDATE_CHANNEL=default",
"MOZ_USER_DIR=\".mozilla\"",
"MOZ_VORBIS=1",
"MOZ_VPX_NO_MEM_REPORTING=1",
"MOZ_VTUNE=1",
"MOZ_WEBM_ENCODER=1",
"MOZ_WEBRTC=1",
"MOZ_WEBRTC_ASSERT_ALWAYS=1",
"MOZ_WEBRTC_SIGNALING=1",
"MOZ_WEBSPEECH=1",
"MOZ_WEBSPEECH_TEST_BACKEND=1",
"MOZ_WIDGET_GTK=3",
"MOZ_X11=1",
"MOZ_XUL=1",
"NIGHTLY_BUILD=1",
"NO_NSPR_10_SUPPORT=1",
"NS_PRINTING=1",
"NS_PRINT_PREVIEW=1",
"STATIC_JS_API=1",
"STDC_HEADERS=1",
"TARGET_XPCOM_ABI=\"x86_64-gcc3\"",
"USE_SKIA=1",
"USE_SKIA_GPU=1",
"U_STATIC_IMPLEMENTATION=1",
"U_USING_ICU_NAMESPACE=0",
"VA_COPY=va_copy",
"VPX_X86_ASM=1",
"XP_LINUX=1",
"XP_UNIX=1",
"_REENTRANT",
"__STDC_LIMIT_MACROS",
"__STDC_CONSTANT_MACROS",
"__STDC_FORMAT_MACROS",
"char16ptr_t=const char16_t*"
],
"intelliSenseMode": "clang-x64"
},
{
"name": "Win32",
"includePath": [
"c:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include"
],
"browse": {
"path": [
"c:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include"
]
},
"intelliSenseMode": "msvc-x64"
}
],
"clang_format": {
"style": "file",
"fallback-style": "LLVM",
"sort-includes": "false"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment