Alp Toker a55b95b58a SourceMgr: make valid buffer IDs start from one
Use 0 for the invalid buffer instead of -1/~0 and switch to unsigned
representation to enable more idiomatic usage.

Also introduce a trivial SourceMgr::getMainFileID() instead of hard-coding 0/1
to identify the main file.

llvm-svn: 212398
2014-07-06 10:33:31 +00:00
..
2013-12-02 05:10:04 +00:00
2013-12-02 05:10:04 +00:00
2013-08-28 07:03:02 +00:00
2014-04-20 22:10:16 +00:00