Skip to main content

cpp_projections_differ

Function cpp_projections_differ 

Source
pub fn cpp_projections_differ(left: &ParsedFile, right: &ParsedFile) -> bool
Expand description

Whether two readings of one blob disagree about any identity-bearing output: which declarations exist, what they are named, which are top level or definition-lookup entries, where they start and end, what they are nested in, and how they are signed.

This is the “differs” test behind storing a header’s C projection only when it says something the C++ projection does not (issue #1970): absence of the second row-set must unambiguously mean “identical”, so anything a resolution surface can observe has to be compared here.