<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - error C3861: 'hash_value': identifier not found"
   href="https://bugs.llvm.org/show_bug.cgi?id=47570">47570</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error C3861: 'hash_value': identifier not found
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>1998zhangyi@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi All,

We build LLVM on MSVC to detect compiler regression. On the new repo
<a href="https://github.com/llvm/llvm-project/commits/master">https://github.com/llvm/llvm-project/commits/master</a> c140322, we found error
C3861 when updating LLVM sha, can you help look? Thanks.

build steps:
1. open VS2019 x64 tools command 
2. git clone <a href="https://github.com/llvm/llvm-project">https://github.com/llvm/llvm-project</a> LLVM
3. cd LLVM
4. mkdir build_x64 && pushd build_x64
5. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0
-DLLVM_ENABLE_PROJECTS="clang" ..\llvm
6. msbuild /maxcpucount:4 /p:Platform=x64 /p:Configuration=RelWithDebInfo
/p:PreferredToolArchitecture=x64 ALL_BUILD.vcxproj /t:Rebuild

error info:
IRSimilarityIdentifier.cpp
F:\gitP\llvm\llvm-project\llvm\include\llvm/Support/type_traits.h(179,1):
warning C4067: unexpected tokens following preprocessor directive - expected a
newline
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(154,9):
error C3861: 'hash_value': identifier not found
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(154,9):
error C2672: 'llvm::IRSimilarity::hash_value': no matching overloaded function
found
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(153,12):
error C2672: 'hash_combine': no matching overloaded function found</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>