Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 source locat...
commita9e9e0089d7fd4e5dc737a870b519a411a81fbdd
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Tue, 23 Jun 2009 22:01:48 +0000 (23 22:01 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Tue, 23 Jun 2009 22:01:48 +0000 (23 22:01 +0000)
treea17a5a972bb4fae2c7ca81250debc625a9b2a1de
parenteab61813924dfc3e35bff6a173da3c4d3a6e3bba
Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 source locations and determine which one comes before the other, relative to the translation unit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74014 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
lib/Basic/SourceManager.cpp