llvm-project/clang/unittests
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
..
AST Lex: Use the correct types for MS integer suffixes 2014-06-21 18:46:07 +00:00
ASTMatchers Do not store duplicate parents when memoization data is available. 2014-06-13 13:31:40 +00:00
Basic Add vfs::recursive_directory_iterator 2014-06-25 20:25:40 +00:00
Driver [cleanup] Re-sort includes with llvm/utils/sort_includes.py and fix 2014-03-04 10:05:20 +00:00
Format clang-format: Understand that breaking before lambdas is fine. 2014-06-24 09:15:49 +00:00
Frontend ASTContext: Declare builtin types implicitly 2013-12-15 10:36:26 +00:00
Lex [C++11] Use 'nullptr'. Unittests edition. 2014-06-08 08:38:12 +00:00
Sema [C++11] Use 'nullptr'. Unittests edition. 2014-06-08 08:38:12 +00:00
Tooling Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
libclang Add reparse test for libclang 2014-06-27 17:04:26 +00:00
CMakeLists.txt libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00
Makefile libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00