title: How clang works on Windows?
body: <p><br>
  I'm wondering How clang works on windows system.</p>
  
  <p>I followed tutorial on <a href="https://www.40tude.fr/blog/compile-cpp-code-with-vscode-clang/" rel="nofollow noreferrer">this website</a> and succeeded building binary.<br></p>
  
  <p>here's my question.<br><br>
  When I build project as Debug Mode, it makes .exe, .pdb, .ilk.<br>
  Debugging also works fine too but when I step in some function (ex: std::vector&lt;>::push_back), It finds vector source file on VisualStudio's.<br></p>
  
  <p>I think, It should've not find source file because implementation of push_back should be belong to libclang.</p>
  
  <p>Why this happening?<br></p>
  
  <p>Testing Code is below </p>
  
  <pre class="lang-cpp prettyprint-override"><code>    auto answer = [](int n)
      {
          return 32 + n;
      };
  
      constexpr int response = answer(10);
  </code></pre>
  
  <p>and build command is </p>
  
  <pre><code>C:/Program Files/LLVM/bin/clang++.exe' -std=c++2a ./example_1.cpp -o example_1.exe --debug
  </code></pre>
  
  <p>FYI My system has VisualStudio 2015, and LLVM 9.0.
  vs code configuration is</p>
  
  <pre><code>    /* c_cpp_properties.json */
  {
      "configurations": [
          {
              "name": "Win32",
              "includePath": [
                  "${workspaceFolder}/**",
                  "C:/Program Files/LLVM/include/llvm-c",
                  "C:/Program Files/LLVM/include/clang-c"
              ],
              "defines": [
                  "_DEBUG",
                  "UNICODE",
                  "_UNICODE"
              ],
              "windowsSdkVersion": "8.1",
              "compilerPath": "\"C:/Program Files/LLVM/bin/clang++.exe\"",
              "cStandard": "c11",
              "cppStandard": "c++20",
              "intelliSenseMode": "clang-x64"
          }
      ],
      "version": 4
  }
  
  
      /* launch.json */
  {
      "version": "0.2.0",
      "configurations": [
        {
          "name": "(Windows) Launch",
          "type": "cppvsdbg",
          "request": "launch",
          "program": "${workspaceFolder}/example_1.exe",  
          "args": [],
          "stopAtEntry": false,
          "cwd": "${workspaceFolder}",
          "environment": [],
          "externalConsole": true
        }
      ]
    }
  }
  
      /* tasks.json */
  {
      // See https://go.microsoft.com/fwlink/?LinkId=733558 
      // for the documentation about the tasks.json format
      "version": "2.0.0",
      "tasks": [
          {
              "type": "shell",
              "label": "clang++.exe build active file",
              "command": "C:/Program Files/LLVM/bin/clang++.exe",
              "args": [
                  "-std=c++2a",
                  "./example_1.cpp",
                  "-o",
                  "example_1.exe",
                  "--debug"
              ],
              "group": "build"
          }
      ]
  }
  </code></pre>