diff options
| author | Alp Toker <alp@nuanti.com> | 2014-05-21 01:12:41 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-05-21 01:12:41 +0000 |
| commit | 16b97825c5c0fc1aa5da7caa355e611695325370 (patch) | |
| tree | c2a6445f8a243ee3018fc11e2840f492a6cf1f73 /lib/CodeGen/CGExpr.cpp | |
| parent | 041c5c150c840bd5779081f8c8de53f2dca38d23 (diff) | |
| download | clang-16b97825c5c0fc1aa5da7caa355e611695325370.tar.gz clang-16b97825c5c0fc1aa5da7caa355e611695325370.tar.bz2 clang-16b97825c5c0fc1aa5da7caa355e611695325370.tar.xz | |
SourceManager: Use setMainFileID() consistently
Eliminate createMainFileID() / createMainFileIDForMemBuffer() utility
functions. These didn't add much convenience and conflated two distinct
operations.
This change makes things easier to follow by providing a consistent interface
and getting rid of a bunch of cast-to-voids.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
