Return the one‐based ID of the main (first) source buffer.

Synopsis

Declared in <llvm/Support/SourceMgr.h>

unsigned int
getMainFileID() const;

Return Value

The one‐based ID of the main (first) source buffer.

Created with MrDocs