David Blaikie
|
66874fb18a
Use None rather than Optional<T>() where possible.
|
12 ani în urmă |
David Blaikie
|
dc84cd5efd
Include llvm::Optional in clang/Basic/LLVM.h
|
12 ani în urmă |
Matt Beaumont-Gay
|
c3cd6f7a5d
Fix -Wunused-comparison for comparisons in arguments to function-like macros.
|
12 ani în urmă |
Craig Topper
|
d53c2d30cf
Don't use SourceLineCache in getColumnNumber if LastLineNoResult is past the end of the cache. Fixes PR14570.
|
12 ani în urmă |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 ani în urmă |
Richard Smith
|
62221b17c9
Add -cc1 option -fno-diagnostics-use-presumed-location, a handy mode for
|
12 ani în urmă |
Argyrios Kyrtzidis
|
0872a06d1e
When associating file ranges of macro arguments with their
|
13 ani în urmă |
Craig Topper
|
d9cad403c0
Teach getColumnNumber to use the line cache to get the start of the line if its on the same line as the last call to getLineNumber. Prevents needing to scan backwards for the new line. Fixes PR14106.
|
13 ani în urmă |
Ted Kremenek
|
186ec9c2e6
Silence dead store warning. It is conceptually possible we will
|
13 ani în urmă |
Roman Divacky
|
31ba613537
Dont cast away const needlessly. Found by gcc48 -Wcast-qual.
|
13 ani în urmă |
Argyrios Kyrtzidis
|
ff398965a5
Introduce a flag in SourceManager to treat non-system source files
|
13 ani în urmă |
James Dennett
|
ec221bc2a5
Documentation cleanup: Delete a duplicated/malformed doc comment.
|
13 ani în urmă |
Meador Inge
|
9416d42468
Revert predefined decl tracking.
|
13 ani în urmă |
Jordan Rose
|
2e413f977d
Fix the location of the fixit for -Wnewline-eof.
|
13 ani în urmă |
James Dennett
|
b8950b8e11
Documentation cleanup: escaped # characters in Doxygen comments.
|
13 ani în urmă |
James Dennett
|
7285a06a06
Documentation cleanup: escape # in a Doxygen comment.
|
13 ani în urmă |
Douglas Gregor
|
47d9de6781
Switch LineTableInfo to use FileID instead of int for file references,
|
13 ani în urmă |
Jordan Rose
|
d73ef135ba
Add pedantic warning -Wempty-translation-unit (C11 6.9p1).
|
13 ani în urmă |
Argyrios Kyrtzidis
|
d54dff026b
[PCH] When validating that the files coming from PCH did not change, also
|
13 ani în urmă |
Benjamin Kramer
|
d2953ce57a
SourceManager: Vectorize ComputeLineNumbers for SSE2.
|
13 ani în urmă |
Argyrios Kyrtzidis
|
a4c29b6e55
[PCH] Recover gracefully if the ASTReader detects that a file is different
|
13 ani în urmă |
Argyrios Kyrtzidis
|
cee5ec9df4
Fix bugs in SourceManager::computeMacroArgsCache() and add a unit test for it.
|
13 ani în urmă |
Argyrios Kyrtzidis
|
d7711ec430
For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded
|
13 ani în urmă |
Dylan Noblesmith
|
098eaffc0c
SourceManager: use getBufferSize()
|
13 ani în urmă |
Argyrios Kyrtzidis
|
99ee085101
In SourceManager::~SourceManager do a sanity check to make sure we
|
13 ani în urmă |
Argyrios Kyrtzidis
|
a4288c4aa0
In ContentCache::replaceBuffer, add sanity check to make sure that we do not free a buffer
|
13 ani în urmă |
Argyrios Kyrtzidis
|
d575254dcd
Add a sanity check in SourceManager::getColumnNumber, make sure
|
13 ani în urmă |
Douglas Gregor
|
a081da5e44
Implement (de-)serialization of the buffer contents for an overridden
|
13 ani în urmă |
Argyrios Kyrtzidis
|
82ccbe759b
Use assert(0) instead of duplicating the check, suggestion by Anna.
|
14 ani în urmă |
Argyrios Kyrtzidis
|
796dbfb6c4
Introduce SourceManager::getFileLoc which returns a file location
|
14 ani în urmă |