Chris Lattner
|
39b49bcaad
now the FileManager has a FileSystemOpts ivar, stop threading
|
14 년 전 |
Chris Lattner
|
151466a186
Partially revert Doug's PCH validation patch (r98585).
|
14 년 전 |
Argyrios Kyrtzidis
|
33e4e70c8c
Refactoring of Diagnostic class.
|
14 년 전 |
Benjamin Kramer
|
5807d9cce3
Fix a typo in the UTF-8 BOM (PR8645). Use a StringSwitch while at it.
|
14 년 전 |
Argyrios Kyrtzidis
|
389db16c63
Implement -working-directory.
|
15 년 전 |
Douglas Gregor
|
c417fa0244
Teach SourceManager::getPresumedLoc() how to fail gracefully if getLineNumber/getColumnNumber fail
|
15 년 전 |
Dan Gohman
|
0d06e99891
getOrCreateContentCache never returns null, so overrideFileContents
|
15 년 전 |
Chandler Carruth
|
14bd96571e
Update remaining attribute macros to new style.
|
15 년 전 |
Zhanyong Wan
|
1f24e11769
Fix handling of the 'Invalid' argument in SourceManager's methods (patch by Dean Sturtevant, reviewed by chandlerc and Sebastian Redl).
|
15 년 전 |
Dan Gohman
|
3f86b789f5
Fix a typo.
|
15 년 전 |
Sebastian Redl
|
3c7f413460
More PCH -> AST renaming.
|
15 년 전 |
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 년 전 |
Douglas Gregor
|
f4f6c9db68
Introduce basic support for loading a precompiled preamble while
|
15 년 전 |
Chris Lattner
|
d3b8cc2792
clean up isBeforeInTranslationUnit by factoring out some common
|
15 년 전 |
Chris Lattner
|
48296ba924
reimplement the guts of SourceManager::isBeforeInTranslationUnit
|
15 년 전 |
Chris Lattner
|
66a915fbd7
start using the caching now that it appears to work!
|
15 년 전 |
Chris Lattner
|
dcb1d68f6f
reimplement the caching in the SourceManager::isBeforeInTranslationUnit()
|
15 년 전 |
Ted Kremenek
|
672c003286
Workaround a really serious caching bug in SourceManager::isBeforeInTranslationUnit() where the
|
15 년 전 |
Chris Lattner
|
5c5db4e94b
change FullSourceLoc to have a *const* SourceManager&, eliminating
|
15 년 전 |
Chris Lattner
|
e127a0d801
push some source location information down through the compiler,
|
15 년 전 |
Chris Lattner
|
38caec48bc
enhance sourcemgr to detect various UTF BOM's and emit a fatal error
|
15 년 전 |
Daniel Dunbar
|
0b3c773bdc
Disable diag::err_file_modified on Win32 completely, until someone cares to fix
|
15 년 전 |
Douglas Gregor
|
9f692a0308
On Windows, disable the modification-time check for files used in
|
15 년 전 |
Douglas Gregor
|
93ea5cb0ed
Introduce the notion of a single "delayed" diagnostic into the
|
15 년 전 |
Douglas Gregor
|
2d52be56ff
Keep track of the size/modification time of each file source-location
|
15 년 전 |
Douglas Gregor
|
5de65721bd
Fix a longstanding (but previously unknown) bug in the lazy
|
15 년 전 |
Douglas Gregor
|
0419a2375f
Check the inode in addition to size and modification time to determine
|
15 년 전 |
Douglas Gregor
|
e39b600582
Use a simple diagnostic (file modified) when we detect that a file has
|
15 년 전 |
Douglas Gregor
|
c815108d08
Teach SourceManager's content cache to keep track of whether its
|
15 년 전 |
Douglas Gregor
|
aae58b0c3e
Audit all getBuffer() callers (for both the FullSourceLoc and
|
15 년 전 |