File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838
3939#include < algorithm>
4040#include < cassert>
41- #include < clang/AST/DeclarationName.h>
4241#include < cstdlib> // for getenv
4342#include < iostream> // for std::cerr
4443#include < memory>
@@ -467,8 +466,9 @@ void InitTimers();
467466 // out-of-tree and hybrid. When we pick up the wrong header files we
468467 // usually see a problem with C.Idents not being properly initialized.
469468 // This assert tries to catch such situations heuristically.
470- assert (&C.Idents == &m_CI.getPreprocessor ().getIdentifierTable ()
471- && " Miscompiled?" );
469+ assert (&m_CI.getASTContext ().Idents ==
470+ &m_CI.getPreprocessor ().getIdentifierTable () &&
471+ " Miscompiled?" );
472472 NamespaceDecl* CladNS =
473473 utils::LookupNSD (m_CI.getSema (), " clad" , /* shouldExist=*/ false );
474474 m_HasRuntime = (CladNS != nullptr );
You can’t perform that action at this time.
0 commit comments