Argyrios Kyrtzidis
|
389db16c63
Implement -working-directory.
|
15 lat temu |
Douglas Gregor
|
c417fa0244
Teach SourceManager::getPresumedLoc() how to fail gracefully if getLineNumber/getColumnNumber fail
|
15 lat temu |
Dan Gohman
|
0d06e99891
getOrCreateContentCache never returns null, so overrideFileContents
|
15 lat temu |
Chandler Carruth
|
14bd96571e
Update remaining attribute macros to new style.
|
15 lat temu |
Zhanyong Wan
|
1f24e11769
Fix handling of the 'Invalid' argument in SourceManager's methods (patch by Dean Sturtevant, reviewed by chandlerc and Sebastian Redl).
|
15 lat temu |
Dan Gohman
|
3f86b789f5
Fix a typo.
|
15 lat temu |
Sebastian Redl
|
3c7f413460
More PCH -> AST renaming.
|
15 lat temu |
Sebastian Redl
|
b86238d2f0
Add a test case for tentative definitions in chained PCH. Fix a bug that completely messed up source locations and thus caused a crash whenever a diagnostic was emitted in chained PCH files.
|
15 lat temu |
Douglas Gregor
|
f4f6c9db68
Introduce basic support for loading a precompiled preamble while
|
15 lat temu |
Chris Lattner
|
d3b8cc2792
clean up isBeforeInTranslationUnit by factoring out some common
|
15 lat temu |
Chris Lattner
|
48296ba924
reimplement the guts of SourceManager::isBeforeInTranslationUnit
|
15 lat temu |
Chris Lattner
|
66a915fbd7
start using the caching now that it appears to work!
|
15 lat temu |
Chris Lattner
|
dcb1d68f6f
reimplement the caching in the SourceManager::isBeforeInTranslationUnit()
|
15 lat temu |
Ted Kremenek
|
672c003286
Workaround a really serious caching bug in SourceManager::isBeforeInTranslationUnit() where the
|
15 lat temu |
Chris Lattner
|
5c5db4e94b
change FullSourceLoc to have a *const* SourceManager&, eliminating
|
15 lat temu |
Chris Lattner
|
e127a0d801
push some source location information down through the compiler,
|
15 lat temu |
Chris Lattner
|
38caec48bc
enhance sourcemgr to detect various UTF BOM's and emit a fatal error
|
15 lat temu |
Daniel Dunbar
|
0b3c773bdc
Disable diag::err_file_modified on Win32 completely, until someone cares to fix
|
15 lat temu |
Douglas Gregor
|
9f692a0308
On Windows, disable the modification-time check for files used in
|
15 lat temu |
Douglas Gregor
|
93ea5cb0ed
Introduce the notion of a single "delayed" diagnostic into the
|
15 lat temu |
Douglas Gregor
|
2d52be56ff
Keep track of the size/modification time of each file source-location
|
15 lat temu |
Douglas Gregor
|
5de65721bd
Fix a longstanding (but previously unknown) bug in the lazy
|
15 lat temu |
Douglas Gregor
|
0419a2375f
Check the inode in addition to size and modification time to determine
|
15 lat temu |
Douglas Gregor
|
e39b600582
Use a simple diagnostic (file modified) when we detect that a file has
|
15 lat temu |
Douglas Gregor
|
c815108d08
Teach SourceManager's content cache to keep track of whether its
|
15 lat temu |
Douglas Gregor
|
aae58b0c3e
Audit all getBuffer() callers (for both the FullSourceLoc and
|
15 lat temu |
Benjamin Kramer
|
f6ac97b101
Let SourceManager::getBufferData return StringRef instead of a pair of two const char*.
|
15 lat temu |
Douglas Gregor
|
50f6af7a6d
Introduce optional "Invalid" parameters to routines that invoke the
|
15 lat temu |
Douglas Gregor
|
36c35ba0ac
Use SourceManager's Diagnostic object for all file-reading errors,
|
15 lat temu |
Douglas Gregor
|
f715ca12bf
Give SourceManager a Diagnostic object with which to report errors,
|
15 lat temu |