hanchenye-llvm-project/clang/include
David Blaikie 66cc07b4f7 Remove 'const' from MemoryBuffers used through the SourceManager
This removes a const_cast added in r211884 that occurred due to an
inconsistency in how MemoryBuffers are handled between some parts of
clang and LLVM.

MemoryBuffers are immutable and the general convention in the LLVM
project is to omit const from immutable types as it's simply
redundant/verbose (see llvm::Type, for example). While this change
doesn't remove "const" from /every/ MemoryBuffer, it at least makes this
chain of ownership/usage consistent.

llvm-svn: 211915
2014-06-27 17:40:03 +00:00
..
clang Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
clang-c [OPENMP] Initial parsing and sema analysis for 'single' directive. 2014-06-26 12:05:45 +00:00
CMakeLists.txt
Makefile