MCPcopy Create free account
hub / github.com/Oberon00/synth / equalFileLocations

Function equalFileLocations

src/annotate.cpp:25–36  ·  view source on GitHub ↗

This is needed for macro arguments: clang_equalLocations is only true if two locations are truly equal. That is if either of spelling-, source- or file-location is different, it returns false. However we are only interested in the file location, hence this function. We must work with the offset here because it is in fact often different (and more "correct" for our purposes) from what line:column w

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

processTokenFunction · 0.85
processFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected