create indexer similar to DXR clang plugin's IR