Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intellisense Not Working On Remote SSH #7131

Closed
akshat-patel opened this issue Mar 8, 2021 · 14 comments
Closed

Intellisense Not Working On Remote SSH #7131

akshat-patel opened this issue Mar 8, 2021 · 14 comments
Assignees
Labels
Language Service more info needed The issue report is not actionable in its current state remote

Comments

@akshat-patel
Copy link

akshat-patel commented Mar 8, 2021

Issue Type: Bug

I recently connected to my school's computer using the Remote - SSH extension. I have installed the C/C++ extension on my school computer as well. However, Intellisense is not working. These are the steps I followed to get to where I am now:

  1. Download the Remote - SSH extension.
  2. Open the Command Palette and search and click on "Remote-SSH: Add New SSH Host".
  3. Enter the SSH connection command, i.e. ssh [email protected].
  4. Select SSH configuration file to update (two options appeared for me: ~/.ssh/config and /etc/ssh/ssh_config. I selected the first one).
  5. Connect to the host by clicking on the "Connect" button on the dialog that appears in the bottom right.
  6. Download the C/C++ extension on my school computer.

VS Code is able to successfully connect to the host since the built-in terminal shows the home directory of my school's PC. Additionally, the configuration now running is Linux as shown in the bottom right. However, I am having the following issues with Intellisense:

  • No auto suggestion boxes appear while I type.
  • When a dialog box appears for a red squiggly line or included files of my project, the message is stuck at "Loading...".
  • When I save a file, a dialog box appears that says "Saving 'my_project.cpp': Running 'C/C++' Formatter (configure)" and never disappears.

All of these features work on my local computer.

Extension version: 1.2.2
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 20.3.0
Remote OS version: Linux x64 4.15.0-136-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz (8 x 2300)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.12GB free)
Process Argv --crash-reporter-id 6eda11e3-d929-4a56-81ad-83e0d39be8d1
Screen Reader no
VM 0%
Item Value
Remote SSH: pc28.cs.ucdavis.edu
OS Linux x64 4.15.0-136-generic
CPUs Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 2500)
Memory (System) 15.61GB (13.97GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30256638
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubset:30265998
pythontbcf:30265426
vspre833cf:30267465

@sean-mcmanus
Copy link
Collaborator

Can you set "C_Cpp.default.browse.databaseFilename": "${workspaceFolder}/.vscode/vc.db" in your workspace folder settings.json to see if that fixes it? It may be choosing a database location that it doesn't have access to.

When you do Help->Toggle Developer Tools->Console do you see any relevant errors? Do you see an "activating extension" message from our extension?

Is the cpptools process running? What is the CPU usage?

@sean-mcmanus sean-mcmanus self-assigned this Mar 9, 2021
@sean-mcmanus sean-mcmanus added more info needed The issue report is not actionable in its current state Language Service remote labels Mar 9, 2021
@akshat-patel
Copy link
Author

Can you set "C_Cpp.default.browse.databaseFilename": "${workspaceFolder}/.vscode/vc.db" in your workspace folder settings.json to see if that fixes it? It may be choosing a database location that it doesn't have access to.

  • I did this and Intellisense temporarily started to work (for 10 seconds) and then stopped working.

When you do Help->Toggle Developer Tools->Console do you see any relevant errors? Do you see an "activating extension" message from our extension?

  • I see "activating extension" as well as "starting language server" as well as the following errors:

image

Is the cpptools process running? What is the CPU usage?

  • When I enter ps aux | grep cpptools the output is the cpptools process and the memory usage is 2.2%. Additionally, the STAT code of the cpptools process is Sl, where S stands for "Interruptible sleep (waiting for an event to complete)" and l is "is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)".

@sean-mcmanus
Copy link
Collaborator

It sounds the like the cpptools process may be stuck.

Can you set C_Cpp.loggingLevel to "Debug" and provide the logs from the "C/C++" output or see what the last lines of output are?

Also, are you able to attach a debugger to get a callstack? https://github.com/microsoft/vscode-cpptools/wiki/Attaching-debugger-to-cpptools-or-cpptools%E2%80%90srv

@sean-mcmanus
Copy link
Collaborator

Also, are you able login to the machine and use VS Code without using SSH?

@akshat-patel
Copy link
Author

Can you set C_Cpp.loggingLevel to "Debug" and provide the logs from the "C/C++" output or see what the last lines of output are?

  • Here's the output after I did this:
cpptools/didChangeCppProperties
Attempting to get defaults from C compiler in "compilerPath" property: '/usr/bin/clang'
Compiler query command line: "/usr/bin/clang" -std=c11 -Wp,-v -E -dD -x c -m64 -fno-blocks /dev/null
terminating child process: 13014
Code browsing service initialized
Attempting to get defaults from C++ compiler in "compilerPath" property: '/usr/bin/clang'
Compiler query command line: "/usr/bin/clang" -std=c++14 -Wp,-v -E -dD -x c++ -m64 -fno-blocks /dev/null
terminating child process: 13051
  Folder: /usr/include/ will be indexed
  Folder: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/ will be indexed
  Folder: /usr/local/include/ will be indexed
  Folder: /home/akshat7/hw4/ will be indexed
textDocument/didOpen: file:///home/akshat7/hw4/mayday.cpp
Populate include completion cache.
Discovering files...
cpptools/activeDocumentChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 2)
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 3)
cpptools/abortRequest
cpptools/getSemanticTokens: file:///home/akshat7/hw4/mayday.cpp (id: 4)
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 5)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 6)
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/mayday.cpp (id: 7)
cpptools/getDocumentSymbols
  Processing folder (recursive): /usr/include/
  tag parsing file: /home/akshat7/hw4/mayday.cpp
idle loop: reparsing the active document
Checking for syntax errors: file:///home/akshat7/hw4/mayday.cpp
Database safe to open
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 8)
cpptools/activeDocumentChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/mayday.cpp (id: 9)
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 10)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 11)
textDocument/hover: file:///home/akshat7/hw4/mayday.cpp (id: 12)
IntelliSense client not available, using Tag Parser for go to definition.
IntelliSense client not available, using Tag Parser for quick info.
using Tag Parser for quick info
cpptools/activeDocumentChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 13)
textDocument/documentHighlight: file:///home/akshat7/hw4/mayday.cpp (id: 14)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 15)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
textDocument/completion: file:///home/akshat7/hw4/mayday.cpp (id: 16)
auto_complete::handle_completion: file:///home/akshat7/hw4/mayday.cpp (55:12)
Request canceled: 16
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 17)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 18)
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/mayday.cpp (id: 19)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/abortRequest
cpptools/textEditorSelectionChange
textDocument/completion: file:///home/akshat7/hw4/mayday.cpp (id: 20)
auto_complete::handle_completion: file:///home/akshat7/hw4/mayday.cpp (55:11)
Request canceled: 20
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 21)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 22)
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/mayday.cpp (id: 23)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/abortRequest
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 24)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 25)
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/mayday.cpp (id: 26)
idle loop: reparsing the active document
  tag parsing file: /home/akshat7/hw4/SiteNumber.h
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 27)
  tag parsing file: /usr/include/c++/7/iostream
  tag parsing file: /usr/include/c++/7/iomanip
  tag parsing file: /home/akshat7/hw4/mayday.cpp
  tag parsing file: /usr/include/c++/7/string
Database safe to open
cpptools/getDocumentSymbols
cpptools/getDocumentSymbols
cpptools/getDocumentSymbols
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 28)
cpptools/getDocumentSymbols
  tag parsing file: /usr/include/c++/7/fstream
  tag parsing file: /usr/include/c++/7/sstream
cpptools/activeDocumentChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
textDocument/documentHighlight: file:///home/akshat7/hw4/mayday.cpp (id: 29)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 30)
idle loop: reparsing the active document
textDocument/documentHighlight: file:///home/akshat7/hw4/mayday.cpp (id: 31)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 32)
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 33)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
textDocument/completion: file:///home/akshat7/hw4/mayday.cpp (id: 34)
auto_complete::handle_completion: file:///home/akshat7/hw4/mayday.cpp (55:4)
Offering completion
completionItem/resolve (id: 35)
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 36)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 37)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 38)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 39)
textDocument/didChange: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: file:///home/akshat7/hw4/mayday.cpp (id: 40)
cpptools/getCodeActions: file:///home/akshat7/hw4/mayday.cpp (id: 41)
textDocument/hover: file:///home/akshat7/hw4/mayday.cpp (id: 42)
IntelliSense client not available, using Tag Parser for go to definition.
IntelliSense client not available, using Tag Parser for quick info.
using Tag Parser for quick info

Also, are you able to attach a debugger to get a callstack?

  • I tried this but got the following, which I replied no to since it's my school computer:
Superuser access is required to attach to a process. Attaching as superuser can potentially harm your computer. Do you want to continue?

Also, are you able login to the machine and use VS Code without using SSH?

  • I'm not sure how to do this. I assumed the only way to login to the machine and use VS Code is through SSH.

@sean-mcmanus
Copy link
Collaborator

The logs show that the IntelliSense process is not launching and I don't see any indication that it's stuck. Is your C_Cpp.intelliSenseEngine set to "Default"? What is the logging show when you invoke formatting? It's possible your computer is really slow and the IntelliSense process launching is stuck waiting for tag parsing to finish (I noticed it's parsing some system header files). Do any more tag parsing messages appear in the logs or is that finished?

Hmm, I'm not sure why you're getting that "superuser access" message. You shouldn't need superuser access to attach unless the process you're attaching to has superuser access. @WardenGnaw Do you know about this? I'm not aware of how attaching to our cpptools process could harm your computer in any way even with superuser access.

We were thinking your might be able to remote desktop into the machine -- if your IT administrators haven't explained how you can do this then it might not be possible.

@akshat-patel
Copy link
Author

Is your C_Cpp.intelliSenseEngine set to "Default"?

  • Yes, it is.

What is the logging show when you invoke formatting?

  • Formatting takes a very long time, but I've copied the entire log below:
Database safe to open
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/Closer.h (id: 73)
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 74)
cpptools/getDocumentSymbols
textDocument/didOpen: file:///home/akshat7/hw4/Facility.cpp
cpptools/activeDocumentChange: file:///home/akshat7/hw4/Facility.cpp
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/Facility.cpp (id: 75)
cpptools/getSemanticTokens: file:///home/akshat7/hw4/Facility.cpp (id: 76)
cpptools/getFoldingRanges: file:///home/akshat7/hw4/Facility.cpp (id: 77)
cpptools/abortRequest
textDocument/didClose: file:///home/akshat7/hw4/mayday.cpp
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 80)
textDocument/hover: file:///home/akshat7/hw4/Facility.cpp (id: 83)
IntelliSense client not available, using Tag Parser for go to definition.
IntelliSense client not available, using Tag Parser for quick info.
using Tag Parser for quick info
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 84)
cpptools/formatDocument: file:///home/akshat7/hw4/Facility.cpp (id: 85)
Formatting input:
#include "Facility.h"
#include "gcdistance.h"
#include <iostream>
#include <sstream>
Facility::Facility(std::string s) : site_number_(s.substr(0, 10)), type_(s.substr(11, 13)), code_(s.substr(24, 4)), name_(s.substr(130, 50)), latitude_(convert_latitude(s.substr(535, 12))), longitude_(convert_longitude(s.substr(562, 12)))
{
}

std::string Facility::site_number(void) const
{
    return site_number_;
}

std::string Facility::type(void) const
{
    return type_;
}

std::string Facility::code(void) const
{
    return code_;
}

std::string Facility::name(void) const
{
    return name_;
}

double Facility::latitude(void) const
{
    return latitude_;
}

double Facility::longitude(void) const
{
    return longitude_;
}

double Facility::distance(double lat, double lon) const
{
    return gcdistance(lat, lon, latitude_, longitude_);
}

double Facility::convert_latitude(std::string s) const
{
    double latitude;
    char direction;
    const int sec_to_degrees = 3600;
    std::istringstream lat_str(s);
    lat_st...
Formatting document: file:///home/akshat7/hw4/Facility.cpp
Formatting Engine: clangFormat
  tag parsing file: /home/akshat7/hw4/Facility.cpp
cpptools/getDocumentSymbols
  tag parsing file: /home/akshat7/hw4/gcdistance.h
  tag parsing file: /usr/include/c++/7/bits/basic_ios.h
  tag parsing file: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stdint.h
  tag parsing file: /usr/include/wchar.h
  tag parsing file: /usr/include/c++/7/ext/new_allocator.h
  tag parsing file: /usr/include/c++/7/clocale
  tag parsing file: /usr/include/ctype.h
  tag parsing file: /usr/include/c++/7/bits/boost_concept_check.h
  tag parsing file: /usr/include/c++/7/debug/helper_functions.h
  tag parsing file: /usr/include/c++/7/bits/exception_defines.h
  tag parsing file: /usr/include/c++/7/debug/macros.h
  tag parsing file: /usr/include/c++/7/debug/functions.h
  tag parsing file: /usr/include/c++/7/parallel/base.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/gthr.h
  tag parsing file: /usr/include/c++/7/parallel/find.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/atomic_word.h
  tag parsing file: /usr/include/c++/7/parallel/find_selectors.h
  tag parsing file: /usr/include/c++/7/bits/locale_classes.tcc
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/error_constants.h
  tag parsing file: /usr/include/c++/7/bits/alloc_traits.h
  tag parsing file: /usr/include/c++/7/cwctype
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/ctype_base.h
  tag parsing file: /usr/include/c++/7/bits/string_view.tcc
  tag parsing file: /usr/include/c++/7/bits/streambuf_iterator.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/ctype_inline.h
  tag parsing file: /usr/include/c++/7/bits/locale_facets.tcc
  tag parsing file: /usr/include/c++/7/cerrno
  tag parsing file: /usr/include/c++/7/ctime
  tag parsing file: /usr/include/c++/7/bits/hash_bytes.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/time_members.h
  tag parsing file: /usr/include/stdc-predef.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/messages_members.h
  tag parsing file: /usr/include/x86_64-linux-gnu/sys/cdefs.h
  tag parsing file: /usr/include/c++/7/bits/locale_facets_nonio.tcc
  tag parsing file: /usr/include/x86_64-linux-gnu/gnu/stubs.h
  tag parsing file: /usr/include/c++/7/bits/unique_ptr.h
  tag parsing file: /usr/include/c++/7/bits/exception.h
  tag parsing file: /usr/include/c++/7/bits/exception_ptr.h
  tag parsing file: /usr/include/c++/7/bits/nested_exception.h
  tag parsing file: /usr/include/c++/7/bits/basic_ios.tcc
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/floatn.h
  tag parsing file: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stddef.h
  tag parsing file: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/stdarg.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/wchar.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/wint_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/__FILE.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/FILE.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/locale_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/libio.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/wctype-wchar.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/wchar2.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/stdio_lim.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/wchar-ldbl.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/sys_errlist.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/getopt_posix.h
  tag parsing file: /usr/include/locale.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/stdio.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/stdio2.h
  tag parsing file: /usr/include/endian.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/stdio-ldbl.h
  tag parsing file: /usr/include/c++/7/debug/formatter.h
  tag parsing file: /usr/include/c++/7/parallel/tags.h
  tag parsing file: /usr/include/omp.h
  tag parsing file: /usr/include/c++/7/parallel/settings.h
  tag parsing file: /usr/include/c++/7/parallel/features.h
  tag parsing file: /usr/include/c++/7/parallel/iterator.h
  tag parsing file: /usr/include/c++/7/parallel/basic_iterator.h
  tag parsing file: /usr/include/c++/7/parallel/sort.h
  tag parsing file: /usr/include/c++/7/parallel/parallel.h
  tag parsing file: /usr/include/c++/7/parallel/workstealing.h
  tag parsing file: /usr/include/c++/7/parallel/par_loop.h
  tag parsing file: /usr/include/c++/7/parallel/compatibility.h
  tag parsing file: /usr/include/c++/7/parallel/omp_loop.h
  tag parsing file: /usr/include/c++/7/parallel/equally_split.h
  tag parsing file: /usr/include/c++/7/parallel/omp_loop_static.h
  tag parsing file: /usr/include/x86_64-linux-gnu/c++/7/bits/gthr-default.h
  tag parsing file: /usr/include/c++/7/parallel/for_each_selectors.h
  tag parsing file: /usr/include/c++/7/parallel/for_each.h
  tag parsing file: /usr/include/c++/7/parallel/search.h
  tag parsing file: /usr/include/errno.h
  tag parsing file: /usr/include/c++/7/parallel/random_shuffle.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/wordsize.h
  tag parsing file: /usr/include/c++/7/parallel/partition.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/long-double.h
  tag parsing file: /usr/include/c++/7/parallel/merge.h
  tag parsing file: /usr/include/x86_64-linux-gnu/gnu/stubs-32.h
  tag parsing file: /usr/include/c++/7/parallel/unique_copy.h
  tag parsing file: /usr/include/x86_64-linux-gnu/gnu/stubs-64.h
  tag parsing file: /usr/include/c++/7/parallel/set_operations.h
  tag parsing file: /usr/include/x86_64-linux-gnu/gnu/stubs-x32.h
  tag parsing file: /usr/include/c++/7/debug/safe_base.h
  tag parsing file: /usr/include/c++/7/bits/cxxabi_init_exception.h
  tag parsing file: /usr/include/c++/7/debug/safe_sequence.tcc
  tag parsing file: /usr/include/c++/7/typeinfo
  tag parsing file: /usr/include/c++/7/debug/safe_iterator.tcc
  tag parsing file: /usr/include/c++/7/profile/impl/profiler.h
Tag parsing encountered an error, but it may not matter. Let us know if symbols in the file can't be found: /usr/include/c++/7/profile/impl/profiler.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/floatn-common.h
  tag parsing file: /usr/lib/llvm-6.0/lib/clang/6.0.0/include/__stddef_max_align_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
  tag parsing file: /usr/include/c++/7/tr1/special_function_util.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/locale.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/typesizes.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/endian.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/byteswap.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/uintn-identity.h
  tag parsing file: /usr/include/wctype.h
  tag parsing file: /usr/include/c++/7/parallel/compiletime_settings.h
  tag parsing file: /usr/include/time.h
  tag parsing file: /usr/include/c++/7/parallel/types.h
  tag parsing file: /usr/include/libintl.h
  tag parsing file: /usr/include/sched.h
  tag parsing file: /usr/include/c++/7/tuple
  tag parsing file: /usr/include/pthread.h
  tag parsing file: /usr/include/unistd.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/errno.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/byteswap-16.h
  tag parsing file: /usr/include/c++/7/tr1/cstdint
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/time_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/_G_config.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/libio-ldbl.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/getopt_core.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/sched.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/cpu-set.h
  tag parsing file: /usr/include/c++/7/parallel/checkers.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h
  tag parsing file: /usr/include/c++/7/parallel/multiway_mergesort.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/setjmp.h
  tag parsing file: /usr/include/c++/7/parallel/quicksort.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/posix_opt.h
  tag parsing file: /usr/include/c++/7/parallel/balanced_quicksort.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/environments.h
  tag parsing file: /usr/include/c++/7/parallel/random_number.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/confname.h
  tag parsing file: /usr/include/c++/7/bits/stl_numeric.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/unistd.h
  tag parsing file: /usr/include/c++/7/parallel/multiseq_selection.h
  tag parsing file: /usr/include/c++/7/ext/concurrence.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_hash_func.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_hashtable_size.h
  tag parsing file: /usr/include/linux/errno.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_map_to_unordered_map.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/time.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_vector_size.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/clock_t.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_vector_to_list.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/struct_tm.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_list_to_slist.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/clockid_t.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_list_to_vector.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/timer_t.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/thread-shared-types.h
  tag parsing file: /usr/include/gconv.h
  tag parsing file: /usr/include/x86_64-linux-gnu/asm/errno.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/timex.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h
  tag parsing file: /usr/include/c++/7/array
  tag parsing file: /usr/include/c++/7/bits/uses_allocator.h
  tag parsing file: /usr/include/c++/7/bits/invoke.h
  tag parsing file: /usr/include/asm-generic/errno.h
  tag parsing file: /usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h
  tag parsing file: /usr/include/asm-generic/errno-base.h
Formatting raw output:
#include "Facility.h"
#include "gcdistance.h"
#include <iostream>
#include <sstream>
Facility::Facility(std::string s) : site_number_(s.substr(0, 10)), type_(s.substr(11, 13)), code_(s.substr(24, 4)), name_(s.substr(130, 50)), latitude_(convert_latitude(s.substr(535, 12))), longitude_(convert_longitude(s.substr(562, 12)))
{
}

std::string Facility::site_number(void) const
{
    return site_number_;
}

std::string Facility::type(void) const
{
    return type_;
}

std::string Facility::code(void) const
{
    return code_;
}

std::string Facility::name(void) const
{
    return name_;
}

double Facility::latitude(void) const
{
    return latitude_;
}

double Facility::longitude(void) const
{
    return longitude_;
}

double Facility::distance(double lat, double lon) const
{
    return gcdistance(lat, lon, latitude_, longitude_);
}

double Facility::convert_latitude(std::string s) const
{
    double latitude;
    char direction;
    const int sec_to_degrees = 3600;
    std::istringstream lat_str(s);
    lat_st...
terminating child process: 21826
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 86)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 87)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 89)
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 92)
0 include path suggestion(s) discovered.
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 93)
0 include path suggestion(s) discovered.
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 95)
0 include path suggestion(s) discovered.
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 98)
0 include path suggestion(s) discovered.
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 99)
cpptools/activeDocumentChange: file:///home/akshat7/hw4/Facility.cpp
cpptools/textEditorSelectionChange
cpptools/getDocumentSymbols: file:///home/akshat7/hw4/Facility.cpp (id: 100)
cpptools/textEditorSelectionChange
cpptools/getFoldingRanges: file:///home/akshat7/hw4/Facility.cpp (id: 101)
cpptools/getDocumentSymbols
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 102)
0 include path suggestion(s) discovered.
cpptools/activeDocumentChange: file:///home/akshat7/hw4/Facility.cpp
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 107)
0 include path suggestion(s) discovered.
textDocument/hover: file:///home/akshat7/hw4/Facility.cpp (id: 108)
IntelliSense client not available, using Tag Parser for go to definition.
IntelliSense client not available, using Tag Parser for quick info.
using Tag Parser for quick info
cpptools/activeDocumentChange: file:///home/akshat7/hw4/Facility.cpp
cpptools/textEditorSelectionChange
textDocument/documentHighlight: file:///home/akshat7/hw4/Facility.cpp (id: 109)
cpptools/textEditorSelectionChange
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 110)
idle loop: reparsing the active document
Checking for syntax errors: file:///home/akshat7/hw4/Facility.cpp
  tag parsing file: /usr/include/c++/7/parallel/multiway_merge.h
  tag parsing file: /usr/include/c++/7/parallel/queue.h
  tag parsing file: /usr/include/c++/7/tr1/random
  tag parsing file: /usr/include/c++/7/queue
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_node.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_trace.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_state.h
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_container_size.h
  tag parsing file: /usr/include/c++/7/debug/array
  tag parsing file: /usr/include/c++/7/profile/array
  tag parsing file: /usr/include/c++/7/parallel/losertree.h
  tag parsing file: /usr/include/c++/7/tr1/type_traits
  tag parsing file: /usr/include/c++/7/tr1/cmath
  tag parsing file: /usr/include/c++/7/tr1/random.h
  tag parsing file: /usr/include/c++/7/tr1/random.tcc
  tag parsing file: /usr/include/c++/7/deque
  tag parsing file: /usr/include/c++/7/bits/stl_queue.h
  tag parsing file: /usr/include/execinfo.h
  tag parsing file: /usr/include/c++/7/unordered_map
  tag parsing file: /usr/include/c++/7/tr1/unordered_map
  tag parsing file: /usr/include/c++/7/profile/impl/profiler_algos.h
  tag parsing file: /usr/include/c++/7/bits/stl_deque.h
  tag parsing file: /usr/include/c++/7/bits/deque.tcc
  tag parsing file: /usr/include/c++/7/debug/deque
  tag parsing file: /usr/include/c++/7/profile/deque
  tag parsing file: /usr/include/c++/7/ext/aligned_buffer.h
  tag parsing file: /usr/include/c++/7/bits/hashtable.h
  tag parsing file: /usr/include/c++/7/bits/unordered_map.h
  tag parsing file: /usr/include/c++/7/debug/unordered_map
  tag parsing file: /usr/include/c++/7/profile/unordered_map
  tag parsing file: /usr/include/c++/7/tr1/functional_hash.h
  tag parsing file: /usr/include/c++/7/tr1/hashtable.h
  tag parsing file: /usr/include/c++/7/tr1/unordered_map.h
  tag parsing file: /usr/include/c++/7/bits/hashtable_policy.h
  tag parsing file: /usr/include/c++/7/bits/node_handle.h
  tag parsing file: /usr/include/c++/7/debug/safe_unordered_container.h
  tag parsing file: /usr/include/c++/7/debug/safe_local_iterator.h
  tag parsing file: /usr/include/c++/7/profile/unordered_base.h
  tag parsing file: /usr/include/c++/7/tr1/hashtable_policy.h
  tag parsing file: /usr/include/c++/7/optional
  tag parsing file: /usr/include/c++/7/debug/safe_unordered_base.h
  tag parsing file: /usr/include/c++/7/debug/safe_unordered_container.tcc
  tag parsing file: /usr/include/c++/7/debug/safe_local_iterator.tcc
  tag parsing file: /usr/include/c++/7/bits/enable_special_members.h
sending compilation args for /home/akshat7/hw4/mayday.cpp
  include: /usr/include/c++/7
  include: /usr/include/x86_64-linux-gnu/c++/7
  include: /usr/include/c++/7/backward
  include: /usr/lib/llvm-6.0/lib/clang/6.0.0/include
  include: /usr/local/include
  include: /usr/include/x86_64-linux-gnu
  include: /usr/include
  include: /home/akshat7/hw4
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=6
  define: __clang_minor__=0
  define: __clang_patchlevel__=0
  define: __clang_version__="6.0.0 (tags/RELEASE_600/final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __OPENCL_MEMORY_SCOPE_WORK_ITEM=0
  define: __OPENCL_MEMORY_SCOPE_WORK_GROUP=1
  define: __OPENCL_MEMORY_SCOPE_DEVICE=2
  define: __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3
  define: __OPENCL_MEMORY_SCOPE_SUB_GROUP=4
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 6.0.0 (tags/RELEASE_600/final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __OBJC_BOOL_IS_BOOL=0
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: __LITTLE_ENDIAN__=1
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __WINT_MAX__=4294967295U
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __UINTMAX_MAX__=18446744073709551615UL
  define: __PTRDIFF_MAX__=9223372036854775807L
  define: __INTPTR_MAX__=9223372036854775807L
  define: __UINTPTR_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __INTMAX_FMTd__="ld"
  define: __INTMAX_FMTi__="li"
  define: __INTMAX_C_SUFFIX__=L
  define: __UINTMAX_TYPE__=long unsigned int
  define: __UINTMAX_FMTo__="lo"
  define: __UINTMAX_FMTu__="lu"
  define: __UINTMAX_FMTx__="lx"
  define: __UINTMAX_FMTX__="lX"
  define: __UINTMAX_C_SUFFIX__=UL
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_FMTd__="ld"
  define: __PTRDIFF_FMTi__="li"
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_FMTd__="ld"
  define: __INTPTR_FMTi__="li"
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_FMTo__="lo"
  define: __SIZE_FMTu__="lu"
  define: __SIZE_FMTx__="lx"
  define: __SIZE_FMTX__="lX"
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __SIG_ATOMIC_MAX__=2147483647
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __UINTMAX_WIDTH__=64
  define: __UINTPTR_TYPE__=long unsigned int
  define: __UINTPTR_FMTo__="lo"
  define: __UINTPTR_FMTu__="lu"
  define: __UINTPTR_FMTx__="lx"
  define: __UINTPTR_FMTX__="lX"
  define: __UINTPTR_WIDTH__=64
  define: __FLT16_DENORM_MIN__=5.9604644775390625e-8F16
  define: __FLT16_HAS_DENORM__=1
  define: __FLT16_DIG__=3
  define: __FLT16_DECIMAL_DIG__=5
  define: __FLT16_EPSILON__=9.765625e-4F16
  define: __FLT16_HAS_INFINITY__=1
  define: __FLT16_HAS_QUIET_NAN__=1
  define: __FLT16_MANT_DIG__=11
  define: __FLT16_MAX_10_EXP__=4
  define: __FLT16_MAX_EXP__=15
  define: __FLT16_MAX__=6.5504e+4F16
  define: __FLT16_MIN_10_EXP__=(-13)
  define: __FLT16_MIN_EXP__=(-14)
  define: __FLT16_MIN__=6.103515625e-5F16
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_DECIMAL_DIG__=9
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_DECIMAL_DIG__=17
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_DECIMAL_DIG__=21
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __BIGGEST_ALIGNMENT__=16
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=signed char
  define: __INT8_FMTd__="hhd"
  define: __INT8_FMTi__="hhi"
  define: __INT8_C_SUFFIX__=
  define: __INT16_TYPE__=short
  define: __INT16_FMTd__="hd"
  define: __INT16_FMTi__="hi"
  define: __INT16_C_SUFFIX__=
  define: __INT32_TYPE__=int
  define: __INT32_FMTd__="d"
  define: __INT32_FMTi__="i"
  define: __INT32_C_SUFFIX__=
  define: __INT64_TYPE__=long int
  define: __INT64_FMTd__="ld"
  define: __INT64_FMTi__="li"
  define: __INT64_C_SUFFIX__=L
  define: __UINT8_TYPE__=unsigned char
  define: __UINT8_FMTo__="hho"
  define: __UINT8_FMTu__="hhu"
  define: __UINT8_FMTx__="hhx"
  define: __UINT8_FMTX__="hhX"
  define: __UINT8_C_SUFFIX__=
  define: __UINT8_MAX__=255
  define: __INT8_MAX__=127
  define: __UINT16_TYPE__=unsigned short
  define: __UINT16_FMTo__="ho"
  define: __UINT16_FMTu__="hu"
  define: __UINT16_FMTx__="hx"
  define: __UINT16_FMTX__="hX"
  define: __UINT16_C_SUFFIX__=
  define: __UINT16_MAX__=65535
  define: __INT16_MAX__=32767
  define: __UINT32_TYPE__=unsigned int
  define: __UINT32_FMTo__="o"
  define: __UINT32_FMTu__="u"
  define: __UINT32_FMTx__="x"
  define: __UINT32_FMTX__="X"
  define: __UINT32_C_SUFFIX__=U
  define: __UINT32_MAX__=4294967295U
  define: __INT32_MAX__=2147483647
  define: __UINT64_TYPE__=long unsigned int
  define: __UINT64_FMTo__="lo"
  define: __UINT64_FMTu__="lu"
  define: __UINT64_FMTx__="lx"
  define: __UINT64_FMTX__="lX"
  define: __UINT64_C_SUFFIX__=UL
  define: __UINT64_MAX__=18446744073709551615UL
  define: __INT64_MAX__=9223372036854775807L
  define: __INT_LEAST8_TYPE__=signed char
  define: __INT_LEAST8_MAX__=127
  define: __INT_LEAST8_FMTd__="hhd"
  define: __INT_LEAST8_FMTi__="hhi"
  define: __UINT_LEAST8_TYPE__=unsigned char
  define: __UINT_LEAST8_MAX__=255
  define: __UINT_LEAST8_FMTo__="hho"
  define: __UINT_LEAST8_FMTu__="hhu"
  define: __UINT_LEAST8_FMTx__="hhx"
  define: __UINT_LEAST8_FMTX__="hhX"
  define: __INT_LEAST16_TYPE__=short
  define: __INT_LEAST16_MAX__=32767
  define: __INT_LEAST16_FMTd__="hd"
  define: __INT_LEAST16_FMTi__="hi"
  define: __UINT_LEAST16_TYPE__=unsigned short
  define: __UINT_LEAST16_MAX__=65535
  define: __UINT_LEAST16_FMTo__="ho"
  define: __UINT_LEAST16_FMTu__="hu"
  define: __UINT_LEAST16_FMTx__="hx"
  define: __UINT_LEAST16_FMTX__="hX"
  define: __INT_LEAST32_TYPE__=int
  define: __INT_LEAST32_MAX__=2147483647
  define: __INT_LEAST32_FMTd__="d"
  define: __INT_LEAST32_FMTi__="i"
  define: __UINT_LEAST32_TYPE__=unsigned int
  define: __UINT_LEAST32_MAX__=4294967295U
  define: __UINT_LEAST32_FMTo__="o"
  define: __UINT_LEAST32_FMTu__="u"
  define: __UINT_LEAST32_FMTx__="x"
  define: __UINT_LEAST32_FMTX__="X"
  define: __INT_LEAST64_TYPE__=long int
  define: __INT_LEAST64_MAX__=9223372036854775807L
  define: __INT_LEAST64_FMTd__="ld"
  define: __INT_LEAST64_FMTi__="li"
  define: __UINT_LEAST64_TYPE__=long unsigned int
  define: __UINT_LEAST64_MAX__=18446744073709551615UL
  define: __UINT_LEAST64_FMTo__="lo"
  define: __UINT_LEAST64_FMTu__="lu"
  define: __UINT_LEAST64_FMTx__="lx"
  define: __UINT_LEAST64_FMTX__="lX"
  define: __INT_FAST8_TYPE__=signed char
  define: __INT_FAST8_MAX__=127
  define: __INT_FAST8_FMTd__="hhd"
  define: __INT_FAST8_FMTi__="hhi"
  define: __UINT_FAST8_TYPE__=unsigned char
  define: __UINT_FAST8_MAX__=255
  define: __UINT_FAST8_FMTo__="hho"
  define: __UINT_FAST8_FMTu__="hhu"
  define: __UINT_FAST8_FMTx__="hhx"
  define: __UINT_FAST8_FMTX__="hhX"
  define: __INT_FAST16_TYPE__=short
  define: __INT_FAST16_MAX__=32767
  define: __INT_FAST16_FMTd__="hd"
  define: __INT_FAST16_FMTi__="hi"
  define: __UINT_FAST16_TYPE__=unsigned short
  define: __UINT_FAST16_MAX__=65535
  define: __UINT_FAST16_FMTo__="ho"
  define: __UINT_FAST16_FMTu__="hu"
  define: __UINT_FAST16_FMTx__="hx"
  define: __UINT_FAST16_FMTX__="hX"
  define: __INT_FAST32_TYPE__=int
  define: __INT_FAST32_MAX__=2147483647
  define: __INT_FAST32_FMTd__="d"
  define: __INT_FAST32_FMTi__="i"
  define: __UINT_FAST32_TYPE__=unsigned int
  define: __UINT_FAST32_MAX__=4294967295U
  define: __UINT_FAST32_FMTo__="o"
  define: __UINT_FAST32_FMTu__="u"
  define: __UINT_FAST32_FMTx__="x"
  define: __UINT_FAST32_FMTX__="X"
  define: __INT_FAST64_TYPE__=long int
  define: __INT_FAST64_MAX__=9223372036854775807L
  define: __INT_FAST64_FMTd__="ld"
  define: __INT_FAST64_FMTi__="li"
  define: __UINT_FAST64_TYPE__=long unsigned int
  define: __UINT_FAST64_MAX__=18446744073709551615UL
  define: __UINT_FAST64_FMTo__="lo"
  define: __UINT_FAST64_FMTu__="lu"
  define: __UINT_FAST64_FMTx__="lx"
  define: __UINT_FAST64_FMTX__="lX"
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __CLANG_ATOMIC_BOOL_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_SHORT_LOCK_FREE=2
  define: __CLANG_ATOMIC_INT_LOCK_FREE=2
  define: __CLANG_ATOMIC_LONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_LLONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_POINTER_LOCK_FREE=2
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=__LDBL_DECIMAL_DIG__
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __FXSR__=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __SIZEOF_FLOAT128__=16
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __FLOAT128__=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201402L
  define: __STDCPP_DEFAULT_NEW_ALIGNMENT__=16UL
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=60000
  stdver: c++14
  intelliSenseMode: linux-clang-x64
Checking for syntax errors: file:///home/akshat7/hw4/Closer.h
Queueing IntelliSense update for files in translation unit of: /home/akshat7/hw4/mayday.cpp
terminating child process: 23819
Database safe to open
cpptools/finishUpdateSquiggles
Error squiggle count: 2
terminating child process: 23842
cpptools/getFoldingRanges: file:///home/akshat7/hw4/Facility.cpp (id: 111)
cpptools/getSemanticTokens: file:///home/akshat7/hw4/Closer.h (id: 112)
sending compilation args for /home/akshat7/hw4/mayday.cpp
  include: /usr/include/c++/7
  include: /usr/include/x86_64-linux-gnu/c++/7
  include: /usr/include/c++/7/backward
  include: /usr/lib/llvm-6.0/lib/clang/6.0.0/include
  include: /usr/local/include
  include: /usr/include/x86_64-linux-gnu
  include: /usr/include
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=6
  define: __clang_minor__=0
  define: __clang_patchlevel__=0
  define: __clang_version__="6.0.0 (tags/RELEASE_600/final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __OPENCL_MEMORY_SCOPE_WORK_ITEM=0
  define: __OPENCL_MEMORY_SCOPE_WORK_GROUP=1
  define: __OPENCL_MEMORY_SCOPE_DEVICE=2
  define: __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3
  define: __OPENCL_MEMORY_SCOPE_SUB_GROUP=4
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 6.0.0 (tags/RELEASE_600/final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __OBJC_BOOL_IS_BOOL=0
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: __LITTLE_ENDIAN__=1
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __WINT_MAX__=4294967295U
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __UINTMAX_MAX__=18446744073709551615UL
  define: __PTRDIFF_MAX__=9223372036854775807L
  define: __INTPTR_MAX__=9223372036854775807L
  define: __UINTPTR_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __INTMAX_FMTd__="ld"
  define: __INTMAX_FMTi__="li"
  define: __INTMAX_C_SUFFIX__=L
  define: __UINTMAX_TYPE__=long unsigned int
  define: __UINTMAX_FMTo__="lo"
  define: __UINTMAX_FMTu__="lu"
  define: __UINTMAX_FMTx__="lx"
  define: __UINTMAX_FMTX__="lX"
  define: __UINTMAX_C_SUFFIX__=UL
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_FMTd__="ld"
  define: __PTRDIFF_FMTi__="li"
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_FMTd__="ld"
  define: __INTPTR_FMTi__="li"
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_FMTo__="lo"
  define: __SIZE_FMTu__="lu"
  define: __SIZE_FMTx__="lx"
  define: __SIZE_FMTX__="lX"
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __SIG_ATOMIC_MAX__=2147483647
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __UINTMAX_WIDTH__=64
  define: __UINTPTR_TYPE__=long unsigned int
  define: __UINTPTR_FMTo__="lo"
  define: __UINTPTR_FMTu__="lu"
  define: __UINTPTR_FMTx__="lx"
  define: __UINTPTR_FMTX__="lX"
  define: __UINTPTR_WIDTH__=64
  define: __FLT16_DENORM_MIN__=5.9604644775390625e-8F16
  define: __FLT16_HAS_DENORM__=1
  define: __FLT16_DIG__=3
  define: __FLT16_DECIMAL_DIG__=5
  define: __FLT16_EPSILON__=9.765625e-4F16
  define: __FLT16_HAS_INFINITY__=1
  define: __FLT16_HAS_QUIET_NAN__=1
  define: __FLT16_MANT_DIG__=11
  define: __FLT16_MAX_10_EXP__=4
  define: __FLT16_MAX_EXP__=15
  define: __FLT16_MAX__=6.5504e+4F16
  define: __FLT16_MIN_10_EXP__=(-13)
  define: __FLT16_MIN_EXP__=(-14)
  define: __FLT16_MIN__=6.103515625e-5F16
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_DECIMAL_DIG__=9
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_DECIMAL_DIG__=17
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_DECIMAL_DIG__=21
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __BIGGEST_ALIGNMENT__=16
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=signed char
  define: __INT8_FMTd__="hhd"
  define: __INT8_FMTi__="hhi"
  define: __INT8_C_SUFFIX__=
  define: __INT16_TYPE__=short
  define: __INT16_FMTd__="hd"
  define: __INT16_FMTi__="hi"
  define: __INT16_C_SUFFIX__=
  define: __INT32_TYPE__=int
  define: __INT32_FMTd__="d"
  define: __INT32_FMTi__="i"
  define: __INT32_C_SUFFIX__=
  define: __INT64_TYPE__=long int
  define: __INT64_FMTd__="ld"
  define: __INT64_FMTi__="li"
  define: __INT64_C_SUFFIX__=L
  define: __UINT8_TYPE__=unsigned char
  define: __UINT8_FMTo__="hho"
  define: __UINT8_FMTu__="hhu"
  define: __UINT8_FMTx__="hhx"
  define: __UINT8_FMTX__="hhX"
  define: __UINT8_C_SUFFIX__=
  define: __UINT8_MAX__=255
  define: __INT8_MAX__=127
  define: __UINT16_TYPE__=unsigned short
  define: __UINT16_FMTo__="ho"
  define: __UINT16_FMTu__="hu"
  define: __UINT16_FMTx__="hx"
  define: __UINT16_FMTX__="hX"
  define: __UINT16_C_SUFFIX__=
  define: __UINT16_MAX__=65535
  define: __INT16_MAX__=32767
  define: __UINT32_TYPE__=unsigned int
  define: __UINT32_FMTo__="o"
  define: __UINT32_FMTu__="u"
  define: __UINT32_FMTx__="x"
  define: __UINT32_FMTX__="X"
  define: __UINT32_C_SUFFIX__=U
  define: __UINT32_MAX__=4294967295U
  define: __INT32_MAX__=2147483647
  define: __UINT64_TYPE__=long unsigned int
  define: __UINT64_FMTo__="lo"
  define: __UINT64_FMTu__="lu"
  define: __UINT64_FMTx__="lx"
  define: __UINT64_FMTX__="lX"
  define: __UINT64_C_SUFFIX__=UL
  define: __UINT64_MAX__=18446744073709551615UL
  define: __INT64_MAX__=9223372036854775807L
  define: __INT_LEAST8_TYPE__=signed char
  define: __INT_LEAST8_MAX__=127
  define: __INT_LEAST8_FMTd__="hhd"
  define: __INT_LEAST8_FMTi__="hhi"
  define: __UINT_LEAST8_TYPE__=unsigned char
  define: __UINT_LEAST8_MAX__=255
  define: __UINT_LEAST8_FMTo__="hho"
  define: __UINT_LEAST8_FMTu__="hhu"
  define: __UINT_LEAST8_FMTx__="hhx"
  define: __UINT_LEAST8_FMTX__="hhX"
  define: __INT_LEAST16_TYPE__=short
  define: __INT_LEAST16_MAX__=32767
  define: __INT_LEAST16_FMTd__="hd"
  define: __INT_LEAST16_FMTi__="hi"
  define: __UINT_LEAST16_TYPE__=unsigned short
  define: __UINT_LEAST16_MAX__=65535
  define: __UINT_LEAST16_FMTo__="ho"
  define: __UINT_LEAST16_FMTu__="hu"
  define: __UINT_LEAST16_FMTx__="hx"
  define: __UINT_LEAST16_FMTX__="hX"
  define: __INT_LEAST32_TYPE__=int
  define: __INT_LEAST32_MAX__=2147483647
  define: __INT_LEAST32_FMTd__="d"
  define: __INT_LEAST32_FMTi__="i"
  define: __UINT_LEAST32_TYPE__=unsigned int
  define: __UINT_LEAST32_MAX__=4294967295U
  define: __UINT_LEAST32_FMTo__="o"
  define: __UINT_LEAST32_FMTu__="u"
  define: __UINT_LEAST32_FMTx__="x"
  define: __UINT_LEAST32_FMTX__="X"
  define: __INT_LEAST64_TYPE__=long int
  define: __INT_LEAST64_MAX__=9223372036854775807L
  define: __INT_LEAST64_FMTd__="ld"
  define: __INT_LEAST64_FMTi__="li"
  define: __UINT_LEAST64_TYPE__=long unsigned int
  define: __UINT_LEAST64_MAX__=18446744073709551615UL
  define: __UINT_LEAST64_FMTo__="lo"
  define: __UINT_LEAST64_FMTu__="lu"
  define: __UINT_LEAST64_FMTx__="lx"
  define: __UINT_LEAST64_FMTX__="lX"
  define: __INT_FAST8_TYPE__=signed char
  define: __INT_FAST8_MAX__=127
  define: __INT_FAST8_FMTd__="hhd"
  define: __INT_FAST8_FMTi__="hhi"
  define: __UINT_FAST8_TYPE__=unsigned char
  define: __UINT_FAST8_MAX__=255
  define: __UINT_FAST8_FMTo__="hho"
  define: __UINT_FAST8_FMTu__="hhu"
  define: __UINT_FAST8_FMTx__="hhx"
  define: __UINT_FAST8_FMTX__="hhX"
  define: __INT_FAST16_TYPE__=short
  define: __INT_FAST16_MAX__=32767
  define: __INT_FAST16_FMTd__="hd"
  define: __INT_FAST16_FMTi__="hi"
  define: __UINT_FAST16_TYPE__=unsigned short
  define: __UINT_FAST16_MAX__=65535
  define: __UINT_FAST16_FMTo__="ho"
  define: __UINT_FAST16_FMTu__="hu"
  define: __UINT_FAST16_FMTx__="hx"
  define: __UINT_FAST16_FMTX__="hX"
  define: __INT_FAST32_TYPE__=int
  define: __INT_FAST32_MAX__=2147483647
  define: __INT_FAST32_FMTd__="d"
  define: __INT_FAST32_FMTi__="i"
  define: __UINT_FAST32_TYPE__=unsigned int
  define: __UINT_FAST32_MAX__=4294967295U
  define: __UINT_FAST32_FMTo__="o"
  define: __UINT_FAST32_FMTu__="u"
  define: __UINT_FAST32_FMTx__="x"
  define: __UINT_FAST32_FMTX__="X"
  define: __INT_FAST64_TYPE__=long int
  define: __INT_FAST64_MAX__=9223372036854775807L
  define: __INT_FAST64_FMTd__="ld"
  define: __INT_FAST64_FMTi__="li"
  define: __UINT_FAST64_TYPE__=long unsigned int
  define: __UINT_FAST64_MAX__=18446744073709551615UL
  define: __UINT_FAST64_FMTo__="lo"
  define: __UINT_FAST64_FMTu__="lu"
  define: __UINT_FAST64_FMTx__="lx"
  define: __UINT_FAST64_FMTX__="lX"
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __CLANG_ATOMIC_BOOL_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_SHORT_LOCK_FREE=2
  define: __CLANG_ATOMIC_INT_LOCK_FREE=2
  define: __CLANG_ATOMIC_LONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_LLONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_POINTER_LOCK_FREE=2
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=__LDBL_DECIMAL_DIG__
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __FXSR__=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __SIZEOF_FLOAT128__=16
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __FLOAT128__=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201402L
  define: __STDCPP_DEFAULT_NEW_ALIGNMENT__=16UL
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=60000
  stdver: c++14
  intelliSenseMode: linux-clang-x64
Shutting down IntelliSense server: /home/akshat7/hw4/mayday.cpp
terminating child process: 23865
Database safe to open
sending compilation args for /home/akshat7/hw4/Facility.cpp
  include: /usr/include/c++/7
  include: /usr/include/x86_64-linux-gnu/c++/7
  include: /usr/include/c++/7/backward
  include: /usr/lib/llvm-6.0/lib/clang/6.0.0/include
  include: /usr/local/include
  include: /usr/include/x86_64-linux-gnu
  include: /usr/include
  define: __llvm__=1
  define: __clang__=1
  define: __clang_major__=6
  define: __clang_minor__=0
  define: __clang_patchlevel__=0
  define: __clang_version__="6.0.0 (tags/RELEASE_600/final)"
  define: __GNUC_MINOR__=2
  define: __GNUC_PATCHLEVEL__=1
  define: __GNUC__=4
  define: __GXX_ABI_VERSION=1002
  define: __ATOMIC_RELAXED=0
  define: __ATOMIC_CONSUME=1
  define: __ATOMIC_ACQUIRE=2
  define: __ATOMIC_RELEASE=3
  define: __ATOMIC_ACQ_REL=4
  define: __ATOMIC_SEQ_CST=5
  define: __OPENCL_MEMORY_SCOPE_WORK_ITEM=0
  define: __OPENCL_MEMORY_SCOPE_WORK_GROUP=1
  define: __OPENCL_MEMORY_SCOPE_DEVICE=2
  define: __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES=3
  define: __OPENCL_MEMORY_SCOPE_SUB_GROUP=4
  define: __PRAGMA_REDEFINE_EXTNAME=1
  define: __VERSION__="4.2.1 Compatible Clang 6.0.0 (tags/RELEASE_600/final)"
  define: __STRICT_ANSI__=1
  define: __GXX_EXPERIMENTAL_CXX0X__=1
  define: __OBJC_BOOL_IS_BOOL=0
  define: __CONSTANT_CFSTRINGS__=1
  define: __EXCEPTIONS=1
  define: __GXX_RTTI=1
  define: __DEPRECATED=1
  define: __GNUG__=4
  define: __GXX_WEAK__=1
  define: __private_extern__=extern
  define: __ORDER_LITTLE_ENDIAN__=1234
  define: __ORDER_BIG_ENDIAN__=4321
  define: __ORDER_PDP_ENDIAN__=3412
  define: __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
  define: __LITTLE_ENDIAN__=1
  define: _LP64=1
  define: __LP64__=1
  define: __CHAR_BIT__=8
  define: __SCHAR_MAX__=127
  define: __SHRT_MAX__=32767
  define: __INT_MAX__=2147483647
  define: __LONG_MAX__=9223372036854775807L
  define: __LONG_LONG_MAX__=9223372036854775807LL
  define: __WCHAR_MAX__=2147483647
  define: __WINT_MAX__=4294967295U
  define: __INTMAX_MAX__=9223372036854775807L
  define: __SIZE_MAX__=18446744073709551615UL
  define: __UINTMAX_MAX__=18446744073709551615UL
  define: __PTRDIFF_MAX__=9223372036854775807L
  define: __INTPTR_MAX__=9223372036854775807L
  define: __UINTPTR_MAX__=18446744073709551615UL
  define: __SIZEOF_DOUBLE__=8
  define: __SIZEOF_FLOAT__=4
  define: __SIZEOF_INT__=4
  define: __SIZEOF_LONG__=8
  define: __SIZEOF_LONG_DOUBLE__=16
  define: __SIZEOF_LONG_LONG__=8
  define: __SIZEOF_POINTER__=8
  define: __SIZEOF_SHORT__=2
  define: __SIZEOF_PTRDIFF_T__=8
  define: __SIZEOF_SIZE_T__=8
  define: __SIZEOF_WCHAR_T__=4
  define: __SIZEOF_WINT_T__=4
  define: __SIZEOF_INT128__=16
  define: __INTMAX_TYPE__=long int
  define: __INTMAX_FMTd__="ld"
  define: __INTMAX_FMTi__="li"
  define: __INTMAX_C_SUFFIX__=L
  define: __UINTMAX_TYPE__=long unsigned int
  define: __UINTMAX_FMTo__="lo"
  define: __UINTMAX_FMTu__="lu"
  define: __UINTMAX_FMTx__="lx"
  define: __UINTMAX_FMTX__="lX"
  define: __UINTMAX_C_SUFFIX__=UL
  define: __INTMAX_WIDTH__=64
  define: __PTRDIFF_TYPE__=long int
  define: __PTRDIFF_FMTd__="ld"
  define: __PTRDIFF_FMTi__="li"
  define: __PTRDIFF_WIDTH__=64
  define: __INTPTR_TYPE__=long int
  define: __INTPTR_FMTd__="ld"
  define: __INTPTR_FMTi__="li"
  define: __INTPTR_WIDTH__=64
  define: __SIZE_TYPE__=long unsigned int
  define: __SIZE_FMTo__="lo"
  define: __SIZE_FMTu__="lu"
  define: __SIZE_FMTx__="lx"
  define: __SIZE_FMTX__="lX"
  define: __SIZE_WIDTH__=64
  define: __WCHAR_TYPE__=int
  define: __WCHAR_WIDTH__=32
  define: __WINT_TYPE__=unsigned int
  define: __WINT_WIDTH__=32
  define: __SIG_ATOMIC_WIDTH__=32
  define: __SIG_ATOMIC_MAX__=2147483647
  define: __CHAR16_TYPE__=unsigned short
  define: __CHAR32_TYPE__=unsigned int
  define: __UINTMAX_WIDTH__=64
  define: __UINTPTR_TYPE__=long unsigned int
  define: __UINTPTR_FMTo__="lo"
  define: __UINTPTR_FMTu__="lu"
  define: __UINTPTR_FMTx__="lx"
  define: __UINTPTR_FMTX__="lX"
  define: __UINTPTR_WIDTH__=64
  define: __FLT16_DENORM_MIN__=5.9604644775390625e-8F16
  define: __FLT16_HAS_DENORM__=1
  define: __FLT16_DIG__=3
  define: __FLT16_DECIMAL_DIG__=5
  define: __FLT16_EPSILON__=9.765625e-4F16
  define: __FLT16_HAS_INFINITY__=1
  define: __FLT16_HAS_QUIET_NAN__=1
  define: __FLT16_MANT_DIG__=11
  define: __FLT16_MAX_10_EXP__=4
  define: __FLT16_MAX_EXP__=15
  define: __FLT16_MAX__=6.5504e+4F16
  define: __FLT16_MIN_10_EXP__=(-13)
  define: __FLT16_MIN_EXP__=(-14)
  define: __FLT16_MIN__=6.103515625e-5F16
  define: __FLT_DENORM_MIN__=1.40129846e-45F
  define: __FLT_HAS_DENORM__=1
  define: __FLT_DIG__=6
  define: __FLT_DECIMAL_DIG__=9
  define: __FLT_EPSILON__=1.19209290e-7F
  define: __FLT_HAS_INFINITY__=1
  define: __FLT_HAS_QUIET_NAN__=1
  define: __FLT_MANT_DIG__=24
  define: __FLT_MAX_10_EXP__=38
  define: __FLT_MAX_EXP__=128
  define: __FLT_MAX__=3.40282347e+38F
  define: __FLT_MIN_10_EXP__=(-37)
  define: __FLT_MIN_EXP__=(-125)
  define: __FLT_MIN__=1.17549435e-38F
  define: __DBL_DENORM_MIN__=4.9406564584124654e-324
  define: __DBL_HAS_DENORM__=1
  define: __DBL_DIG__=15
  define: __DBL_DECIMAL_DIG__=17
  define: __DBL_EPSILON__=2.2204460492503131e-16
  define: __DBL_HAS_INFINITY__=1
  define: __DBL_HAS_QUIET_NAN__=1
  define: __DBL_MANT_DIG__=53
  define: __DBL_MAX_10_EXP__=308
  define: __DBL_MAX_EXP__=1024
  define: __DBL_MAX__=1.7976931348623157e+308
  define: __DBL_MIN_10_EXP__=(-307)
  define: __DBL_MIN_EXP__=(-1021)
  define: __DBL_MIN__=2.2250738585072014e-308
  define: __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L
  define: __LDBL_HAS_DENORM__=1
  define: __LDBL_DIG__=18
  define: __LDBL_DECIMAL_DIG__=21
  define: __LDBL_EPSILON__=1.08420217248550443401e-19L
  define: __LDBL_HAS_INFINITY__=1
  define: __LDBL_HAS_QUIET_NAN__=1
  define: __LDBL_MANT_DIG__=64
  define: __LDBL_MAX_10_EXP__=4932
  define: __LDBL_MAX_EXP__=16384
  define: __LDBL_MAX__=1.18973149535723176502e+4932L
  define: __LDBL_MIN_10_EXP__=(-4931)
  define: __LDBL_MIN_EXP__=(-16381)
  define: __LDBL_MIN__=3.36210314311209350626e-4932L
  define: __POINTER_WIDTH__=64
  define: __BIGGEST_ALIGNMENT__=16
  define: __WINT_UNSIGNED__=1
  define: __INT8_TYPE__=signed char
  define: __INT8_FMTd__="hhd"
  define: __INT8_FMTi__="hhi"
  define: __INT8_C_SUFFIX__=
  define: __INT16_TYPE__=short
  define: __INT16_FMTd__="hd"
  define: __INT16_FMTi__="hi"
  define: __INT16_C_SUFFIX__=
  define: __INT32_TYPE__=int
  define: __INT32_FMTd__="d"
  define: __INT32_FMTi__="i"
  define: __INT32_C_SUFFIX__=
  define: __INT64_TYPE__=long int
  define: __INT64_FMTd__="ld"
  define: __INT64_FMTi__="li"
  define: __INT64_C_SUFFIX__=L
  define: __UINT8_TYPE__=unsigned char
  define: __UINT8_FMTo__="hho"
  define: __UINT8_FMTu__="hhu"
  define: __UINT8_FMTx__="hhx"
  define: __UINT8_FMTX__="hhX"
  define: __UINT8_C_SUFFIX__=
  define: __UINT8_MAX__=255
  define: __INT8_MAX__=127
  define: __UINT16_TYPE__=unsigned short
  define: __UINT16_FMTo__="ho"
  define: __UINT16_FMTu__="hu"
  define: __UINT16_FMTx__="hx"
  define: __UINT16_FMTX__="hX"
  define: __UINT16_C_SUFFIX__=
  define: __UINT16_MAX__=65535
  define: __INT16_MAX__=32767
  define: __UINT32_TYPE__=unsigned int
  define: __UINT32_FMTo__="o"
  define: __UINT32_FMTu__="u"
  define: __UINT32_FMTx__="x"
  define: __UINT32_FMTX__="X"
  define: __UINT32_C_SUFFIX__=U
  define: __UINT32_MAX__=4294967295U
  define: __INT32_MAX__=2147483647
  define: __UINT64_TYPE__=long unsigned int
  define: __UINT64_FMTo__="lo"
  define: __UINT64_FMTu__="lu"
  define: __UINT64_FMTx__="lx"
  define: __UINT64_FMTX__="lX"
  define: __UINT64_C_SUFFIX__=UL
  define: __UINT64_MAX__=18446744073709551615UL
  define: __INT64_MAX__=9223372036854775807L
  define: __INT_LEAST8_TYPE__=signed char
  define: __INT_LEAST8_MAX__=127
  define: __INT_LEAST8_FMTd__="hhd"
  define: __INT_LEAST8_FMTi__="hhi"
  define: __UINT_LEAST8_TYPE__=unsigned char
  define: __UINT_LEAST8_MAX__=255
  define: __UINT_LEAST8_FMTo__="hho"
  define: __UINT_LEAST8_FMTu__="hhu"
  define: __UINT_LEAST8_FMTx__="hhx"
  define: __UINT_LEAST8_FMTX__="hhX"
  define: __INT_LEAST16_TYPE__=short
  define: __INT_LEAST16_MAX__=32767
  define: __INT_LEAST16_FMTd__="hd"
  define: __INT_LEAST16_FMTi__="hi"
  define: __UINT_LEAST16_TYPE__=unsigned short
  define: __UINT_LEAST16_MAX__=65535
  define: __UINT_LEAST16_FMTo__="ho"
  define: __UINT_LEAST16_FMTu__="hu"
  define: __UINT_LEAST16_FMTx__="hx"
  define: __UINT_LEAST16_FMTX__="hX"
  define: __INT_LEAST32_TYPE__=int
  define: __INT_LEAST32_MAX__=2147483647
  define: __INT_LEAST32_FMTd__="d"
  define: __INT_LEAST32_FMTi__="i"
  define: __UINT_LEAST32_TYPE__=unsigned int
  define: __UINT_LEAST32_MAX__=4294967295U
  define: __UINT_LEAST32_FMTo__="o"
  define: __UINT_LEAST32_FMTu__="u"
  define: __UINT_LEAST32_FMTx__="x"
  define: __UINT_LEAST32_FMTX__="X"
  define: __INT_LEAST64_TYPE__=long int
  define: __INT_LEAST64_MAX__=9223372036854775807L
  define: __INT_LEAST64_FMTd__="ld"
  define: __INT_LEAST64_FMTi__="li"
  define: __UINT_LEAST64_TYPE__=long unsigned int
  define: __UINT_LEAST64_MAX__=18446744073709551615UL
  define: __UINT_LEAST64_FMTo__="lo"
  define: __UINT_LEAST64_FMTu__="lu"
  define: __UINT_LEAST64_FMTx__="lx"
  define: __UINT_LEAST64_FMTX__="lX"
  define: __INT_FAST8_TYPE__=signed char
  define: __INT_FAST8_MAX__=127
  define: __INT_FAST8_FMTd__="hhd"
  define: __INT_FAST8_FMTi__="hhi"
  define: __UINT_FAST8_TYPE__=unsigned char
  define: __UINT_FAST8_MAX__=255
  define: __UINT_FAST8_FMTo__="hho"
  define: __UINT_FAST8_FMTu__="hhu"
  define: __UINT_FAST8_FMTx__="hhx"
  define: __UINT_FAST8_FMTX__="hhX"
  define: __INT_FAST16_TYPE__=short
  define: __INT_FAST16_MAX__=32767
  define: __INT_FAST16_FMTd__="hd"
  define: __INT_FAST16_FMTi__="hi"
  define: __UINT_FAST16_TYPE__=unsigned short
  define: __UINT_FAST16_MAX__=65535
  define: __UINT_FAST16_FMTo__="ho"
  define: __UINT_FAST16_FMTu__="hu"
  define: __UINT_FAST16_FMTx__="hx"
  define: __UINT_FAST16_FMTX__="hX"
  define: __INT_FAST32_TYPE__=int
  define: __INT_FAST32_MAX__=2147483647
  define: __INT_FAST32_FMTd__="d"
  define: __INT_FAST32_FMTi__="i"
  define: __UINT_FAST32_TYPE__=unsigned int
  define: __UINT_FAST32_MAX__=4294967295U
  define: __UINT_FAST32_FMTo__="o"
  define: __UINT_FAST32_FMTu__="u"
  define: __UINT_FAST32_FMTx__="x"
  define: __UINT_FAST32_FMTX__="X"
  define: __INT_FAST64_TYPE__=long int
  define: __INT_FAST64_MAX__=9223372036854775807L
  define: __INT_FAST64_FMTd__="ld"
  define: __INT_FAST64_FMTi__="li"
  define: __UINT_FAST64_TYPE__=long unsigned int
  define: __UINT_FAST64_MAX__=18446744073709551615UL
  define: __UINT_FAST64_FMTo__="lo"
  define: __UINT_FAST64_FMTu__="lu"
  define: __UINT_FAST64_FMTx__="lx"
  define: __UINT_FAST64_FMTX__="lX"
  define: __USER_LABEL_PREFIX__=
  define: __FINITE_MATH_ONLY__=0
  define: __GNUC_GNU_INLINE__=1
  define: __GCC_ATOMIC_TEST_AND_SET_TRUEVAL=1
  define: __CLANG_ATOMIC_BOOL_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __CLANG_ATOMIC_SHORT_LOCK_FREE=2
  define: __CLANG_ATOMIC_INT_LOCK_FREE=2
  define: __CLANG_ATOMIC_LONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_LLONG_LOCK_FREE=2
  define: __CLANG_ATOMIC_POINTER_LOCK_FREE=2
  define: __GCC_ATOMIC_BOOL_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR16_T_LOCK_FREE=2
  define: __GCC_ATOMIC_CHAR32_T_LOCK_FREE=2
  define: __GCC_ATOMIC_WCHAR_T_LOCK_FREE=2
  define: __GCC_ATOMIC_SHORT_LOCK_FREE=2
  define: __GCC_ATOMIC_INT_LOCK_FREE=2
  define: __GCC_ATOMIC_LONG_LOCK_FREE=2
  define: __GCC_ATOMIC_LLONG_LOCK_FREE=2
  define: __GCC_ATOMIC_POINTER_LOCK_FREE=2
  define: __NO_INLINE__=1
  define: __FLT_EVAL_METHOD__=0
  define: __FLT_RADIX__=2
  define: __DECIMAL_DIG__=__LDBL_DECIMAL_DIG__
  define: __amd64__=1
  define: __amd64=1
  define: __x86_64=1
  define: __x86_64__=1
  define: __k8=1
  define: __k8__=1
  define: __tune_k8__=1
  define: __REGISTER_PREFIX__=
  define: __NO_MATH_INLINES=1
  define: __FXSR__=1
  define: __SSE2__=1
  define: __SSE2_MATH__=1
  define: __SSE__=1
  define: __SSE_MATH__=1
  define: __MMX__=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1
  define: __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1
  define: __SIZEOF_FLOAT128__=16
  define: __unix=1
  define: __unix__=1
  define: __linux=1
  define: __linux__=1
  define: __gnu_linux__=1
  define: __ELF__=1
  define: _GNU_SOURCE=1
  define: __FLOAT128__=1
  define: __STDC__=1
  define: __STDC_HOSTED__=1
  define: __cplusplus=201402L
  define: __STDCPP_DEFAULT_NEW_ALIGNMENT__=16UL
  define: __STDC_UTF_16__=1
  define: __STDC_UTF_32__=1
  other: --clang
  other: --clang_version=60000
  stdver: c++14
  intelliSenseMode: linux-clang-x64
Queueing IntelliSense update for files in translation unit of: /home/akshat7/hw4/Facility.cpp
cpptools/finishUpdateSquiggles
Error squiggle count: 0
terminating child process: 23956
Update IntelliSense time (sec): 2356.717
cpptools/getFoldingRanges: file:///home/akshat7/hw4/Facility.cpp (id: 113)
cpptools/getCodeActions: file:///home/akshat7/hw4/Facility.cpp (id: 114)
Replaced placeholder file record

Do any more tag parsing messages appear in the logs or is that finished?

  • There were probably more tag parsing messages, but it was taking forever to output more. Sorry for only copying some of them.

We were thinking your might be able to remote desktop into the machine -- if your IT administrators haven't explained how you can do this then it might not be possible.

  • I'm pretty sure I can do this. I need to ask my IT administrators how and will get back to you if it works.

@akshat-patel
Copy link
Author

It's possible your computer is really slow and the IntelliSense process launching is stuck waiting for tag parsing to finish

  • I have a feeling this might be the case since Intellisense works (autosuggestion is fast but the dialog box is stuck at "Loading...") intermittently. Only when I give it a "break" for some time does it work properly for a few seconds.

@sean-mcmanus
Copy link
Collaborator

After the logging shows "Formatting Engine: clangFormat" it appears that the clang-format process is taking a long time to do the formatting -- you could confirm that via running something like top/htop to see the CPU usage. During that time it appears to be tag parsing more system includes. You may want to try waiting for cpptools to enter an idle state (stop tag parsing) before doing a formatting to see if that gives better results (but I don't know a reason tag parsing would block formatting). You could also compare the performance of running clang-format for the Facility.cpp file directly on the command line (my guess is that it would be equally slow).

Also, there is strange behavior with the IntelliSense processing for mayday.cpp. I see it process a didClose for that file, but then it appears to launch the IntelliSense process for that file 2 more times and then shutting down and that appears to delay the launching of the IntelliSense process for Facility.cpp -- this may indicate the queue for IntelliSense work is backlogged with old work.

@akshat-patel
Copy link
Author

Is there any way to fix this issue of slowness? Would doing a remote desktop into my school computer resolve it?

@sean-mcmanus
Copy link
Collaborator

Since everything appears to be running on the remote computer without any remote calls between computers, I wouldn't expect alternative remoting methods to yield different results, although it may still be worth trying. Are other tasks on the machine equally slow, such as tasks on the command line such as compiling or clang-format? Are multiple students remoting into the same machine?

@akshat-patel
Copy link
Author

Are other tasks on the machine equally slow, such as tasks on the command line such as compiling or clang-format?

  • Other tasks on the command line like compiling or clang-format are much faster.

Are multiple students remoting into the same machine?

  • Yes, there are likely multiple students remoting into the same machine, so that explains the slowness.

@sean-mcmanus
Copy link
Collaborator

We've found/fixed a performance bug (#7159) when formatting occurs which could cause didChange processing to take a long time. I'm not sure if that's what you were hitting or not though, because your logs don't seem to indicate that, but it could block the main thread for several seconds after a format occurred.

@sean-mcmanus
Copy link
Collaborator

We've fixed a bug with format performance with https://github.com/microsoft/vscode-cpptools/releases/tag/1.3.0-insiders , although your performance issue sounds like it still might not be resolved.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Language Service more info needed The issue report is not actionable in its current state remote
Projects
None yet
Development

No branches or pull requests

2 participants