llvm-project/clang/tools/libclang
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
..
ARCMigrate.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
BuildSystem.cpp VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping files 2014-05-20 21:43:27 +00:00
CIndex.cpp Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
CIndexCXX.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexCodeCompletion.cpp Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
CIndexDiagnostic.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexDiagnostic.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-15 07:47:46 +00:00
CIndexHigh.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexInclusionStack.cpp Fix a typo in the function name that I just introduced (r201155) 2014-02-11 15:02:48 +00:00
CIndexUSRs.cpp libclang/libIndex: USR generation: mangle source location into USRs for macros, 2014-03-28 22:21:26 +00:00
CIndexer.cpp libclang: Remove clang::RemapFiles, it's dead code. 2013-06-13 13:57:48 +00:00
CIndexer.h libclang: Remove clang::RemapFiles, it's dead code. 2013-06-13 13:57:48 +00:00
CLog.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CMakeLists.txt Now that llvm's build system sets -install_name, we don't need to. 2014-02-28 13:50:15 +00:00
CXComment.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXComment.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXCompilationDatabase.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXCursor.cpp [OPENMP] Initial parsing and sema analysis for 'single' directive. 2014-06-26 12:05:45 +00:00
CXCursor.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXLoadedDiagnostic.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXLoadedDiagnostic.h [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-15 07:47:46 +00:00
CXSourceLocation.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXSourceLocation.h [libclang] Add some constness in CXSourceLocation and CXSourceRange. 2013-01-11 22:29:47 +00:00
CXStoredDiagnostic.cpp libclang: remove 'CXDiagnostic_Remark' 2014-04-26 14:43:53 +00:00
CXString.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXString.h Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
CXTranslationUnit.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXType.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXType.h
CursorVisitor.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexBody.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexDecl.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexTypeSourceInfo.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
Index_Internal.h [libclang] Move CursorVisitor to its own header. 2011-11-03 19:02:34 +00:00
Indexing.cpp Remove 'const' from MemoryBuffers used through the SourceManager 2014-06-27 17:40:03 +00:00
IndexingContext.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexingContext.h [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
Makefile Now that llvm's build system sets -install_name, we don't need to. 2014-02-28 13:50:15 +00:00
libclang.exports [libclang] Introduce clang_Module_isSystem(), which returns non-zero if the given CXModule is a system one. 2014-05-15 04:44:25 +00:00