Argyrios Kyrtzidis
|
cee5ec9df4
Fix bugs in SourceManager::computeMacroArgsCache() and add a unit test for it.
|
13 lat temu |
Argyrios Kyrtzidis
|
d7711ec430
For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded
|
13 lat temu |
Dylan Noblesmith
|
098eaffc0c
SourceManager: use getBufferSize()
|
13 lat temu |
Argyrios Kyrtzidis
|
99ee085101
In SourceManager::~SourceManager do a sanity check to make sure we
|
13 lat temu |
Argyrios Kyrtzidis
|
a4288c4aa0
In ContentCache::replaceBuffer, add sanity check to make sure that we do not free a buffer
|
13 lat temu |
Argyrios Kyrtzidis
|
d575254dcd
Add a sanity check in SourceManager::getColumnNumber, make sure
|
13 lat temu |
Douglas Gregor
|
a081da5e44
Implement (de-)serialization of the buffer contents for an overridden
|
13 lat temu |
Argyrios Kyrtzidis
|
82ccbe759b
Use assert(0) instead of duplicating the check, suggestion by Anna.
|
14 lat temu |
Argyrios Kyrtzidis
|
796dbfb6c4
Introduce SourceManager::getFileLoc which returns a file location
|
14 lat temu |
Argyrios Kyrtzidis
|
c3b4575b77
Make sure SourceManager::getFileIDLoaded doesn't hang in release build because of invalid passed parameter.
|
14 lat temu |
Argyrios Kyrtzidis
|
b201e16e0c
Break SourceManager::translateFileLineCol into translateFile, no functionality change.
|
14 lat temu |
Argyrios Kyrtzidis
|
fb3612ef19
Associate the macro arguments location map with a FileID instead
|
14 lat temu |
David Blaikie
|
d6471f7c19
Rename Diagnostic to DiagnosticsEngine as per issue 5397
|
14 lat temu |
Argyrios Kyrtzidis
|
5e5e95dec5
In SourceManager::translateLineCol, handle the case where we are pointing
|
14 lat temu |
Argyrios Kyrtzidis
|
507097ec40
[libclang] When getting a source location from a file:line:col triplet
|
14 lat temu |
Argyrios Kyrtzidis
|
efa2ff8603
Break SourceManager::translateFileLineCol into translateLineCol that returns the
|
14 lat temu |
Argyrios Kyrtzidis
|
a64ccefdf0
Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.
|
14 lat temu |
Argyrios Kyrtzidis
|
50402470f0
For SourceManager::isBeforeInTranslationUnit, a location pointing
|
14 lat temu |
Argyrios Kyrtzidis
|
d7cb46c316
Remove one SourceManager::isInFileID overload and use isOffsetInFileID for the other.
|
14 lat temu |
Argyrios Kyrtzidis
|
b6c465e17e
Amend r138129 (reduction of SLocEntries) which introduced performance regression due
|
14 lat temu |
Argyrios Kyrtzidis
|
984e42ca1f
Move a couple of SourceManager functions out-of-line; no functionality change.
|
14 lat temu |
Argyrios Kyrtzidis
|
d9d2b679d0
Boost the efficiency of SourceManager::getMacroArgExpandedLocation.
|
14 lat temu |
Argyrios Kyrtzidis
|
54232ade44
Refactor common functionality into SourceManager::getFileIDSize, no functionality change.
|
14 lat temu |
Argyrios Kyrtzidis
|
ac836e442c
Introduce SourceManager::getMacroArgExpandedLocation function.
|
14 lat temu |
Argyrios Kyrtzidis
|
37e59a10a7
Make SourceManager::isBeforeInTranslationUnit handle macro locations correctly.
|
14 lat temu |
Ted Kremenek
|
6e36c12404
Change SourceManager::getDataStructureSizes() to use llvm::capacity_in_bytes().
|
14 lat temu |
Ted Kremenek
|
ca7dc2b755
clang_getCXTUResourceUsage: Report memory used by data structures in SourceManager.
|
14 lat temu |
Chandler Carruth
|
3201f38295
Clean up as many of the comments in Basic I can find to talk in terms of
|
14 lat temu |
Chandler Carruth
|
1728762d5a
Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'
|
14 lat temu |
Chandler Carruth
|
78df836808
Convert InstantiationInfo and much of the related code to ExpansionInfo
|
14 lat temu |