| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 46426
|
| |
|
|
| |
llvm-svn: 46274
|
| |
|
|
| |
llvm-svn: 46233
|
| |
|
|
| |
llvm-svn: 46155
|
| |
|
|
| |
llvm-svn: 46076
|
| |
|
|
|
|
|
| |
Fixed some compilation errors with GREngine that showed up during
template instantiation.
llvm-svn: 46074
|
| |
|
|
| |
llvm-svn: 45810
|
| |
|
|
|
|
| |
removing them, fitting the file into 80 columns. :)
llvm-svn: 45807
|
| |
|
|
|
|
| |
constant propagation analysis.
llvm-svn: 45747
|
| |
|
|
| |
llvm-svn: 45593
|
| |
|
|
|
|
| |
stats statistic when clang is built as a dylib.
llvm-svn: 45441
|
| |
|
|
|
|
| |
discussion of this change.
llvm-svn: 45410
|
| |
|
|
| |
llvm-svn: 45339
|
| |
|
|
| |
llvm-svn: 45265
|
| |
|
|
|
|
|
| |
SourceManager to allow SourceManager to directly intern the MainFileID
when it is created. Removed setMainFileID().
llvm-svn: 45231
|
| |
|
|
|
|
|
|
|
| |
both Preprocessor and ASTContext, we no longer need to explicitly pass
MainFileID around in function calls that also pass either Preprocessor or
ASTContext. This resulted in some nice cleanups in the ASTConsumers and the
driver.
llvm-svn: 45228
|
| |
|
|
| |
llvm-svn: 45227
|
| |
|
|
|
|
| |
in SourceManager.
llvm-svn: 45225
|
| |
|
|
|
|
|
| |
be available by querying the SourceManager within the ASTContext referenced by
the TranslationUnit.
llvm-svn: 45223
|
| |
|
|
|
|
| |
doing clang --help.
llvm-svn: 45215
|
| |
|
|
|
|
|
|
| |
rewired to utilize this option.
Renamed option --serialize-ast --serialize.
llvm-svn: 45213
|
| |
|
|
|
|
|
|
|
|
| |
Added "SourceFile" string to TranslationUnit to record corresponding
source file.
Updated serialization of TranslationUnits and logic in the driver to
correctly pass the source file information to the serializer.
llvm-svn: 45211
|
| |
|
|
|
|
| |
CreateASTSerializer.
llvm-svn: 45201
|
| |
|
|
|
|
|
| |
the standalone functions ReadASTBitcodeFile and EmitASTBitcodeFile
respectively.
llvm-svn: 45180
|
| |
|
|
| |
llvm-svn: 45175
|
| |
|
|
|
|
| |
the create method.
llvm-svn: 45109
|
| |
|
|
| |
llvm-svn: 45106
|
| |
|
|
| |
llvm-svn: 45104
|
| |
|
|
|
|
|
|
|
| |
warnings. This flag is the inverse of to GCC's -Wformat-nonliteral option (in
the clang driver, these warnings are on by default).
Patch provided by Shantonu Sen.
llvm-svn: 45103
|
| |
|
|
| |
llvm-svn: 45102
|
| |
|
|
|
|
|
| |
the internal representation. This also fixes a bug where -I foo -F foo would
not search foo as both a normal and framework include dir.
llvm-svn: 45092
|
| |
|
|
| |
llvm-svn: 45091
|
| |
|
|
| |
llvm-svn: 45090
|
| |
|
|
| |
llvm-svn: 45089
|
| |
|
|
| |
llvm-svn: 45087
|
| |
|
|
| |
llvm-svn: 45065
|
| |
|
|
| |
llvm-svn: 45064
|
| |
|
|
| |
llvm-svn: 45060
|
| |
|
|
|
|
| |
deserialized.
llvm-svn: 45006
|
| |
|
|
|
|
|
|
| |
create a .ast file in the current working directory. This mirrors the behavior
of the -c option for gcc. Later we should add the ability to write the
serialized file anywhere.
llvm-svn: 45004
|
| |
|
|
|
|
| |
and is a work in progress.
llvm-svn: 44967
|
| |
|
|
|
|
| |
instead of source files.
llvm-svn: 44962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation.
Added many utility methods to FullSourceLoc to provide shorthand for:
FullLoc.getManager().someMethod(FullLoc.getLocation());
instead we have:
FullLoc.someMethod();
Modified TextDiagnostics (and related classes) to use this short-hand.
llvm-svn: 44957
|
| |
|
|
|
|
|
|
| |
and into the "Basic" library. TargetInfo objects are now
constructed from triples by calling the static method
TargetInfo::CreateTargetInfo.
llvm-svn: 44940
|
| |
|
|
| |
llvm-svn: 44911
|
| |
|
|
|
|
|
| |
into the loop that processes input files. These will soon become translation
unit specific (with the exception of LangOptions).
llvm-svn: 44893
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager*'s instead of SourceManager&'s. This allows the client specify a
NULL SourceManager when using a default constructed SourceLocation. Thus the
SourceManager can be NULL when the SourceLocation's isValid() == false.
The interface to most clients of Diagnostic remains the same.
Diagnostic::Report() is overload to either accept a SourceLocation and a
SourceManager&, or neither. Thus clients that do not have a SourceManager
cannot specify a SourceLocation.
Modified TextDiagnostics* to use this new interface.
Modified the driver to not passed in SourceManager when warning about "-I-".
llvm-svn: 44887
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager is passed by reference, allowing the SourceManager to be
associated with a specific translation unit, and not the entire execution
of the driver.
Modified all users of Diagnostics to comply with this new interface.
Integrated SourceManager as a member variable of TargetInfo. TargetInfo will
eventually be associated with a single translation unit (just like
SourceManager).
Made the SourceManager reference in ASTContext private. Provided accessor
getSourceManager() for clients to use instead. Modified clients to comply with
new interface.
llvm-svn: 44878
|
| |
|
|
| |
llvm-svn: 44731
|
| |
|
|
|
|
|
|
|
| |
GetLanguage, and InitializeLangOptions. The goal is to break up this logic
into atomic units of functionality that can later be refactored into better
driver logic that is capable of handling a mixture of source files of
different languages.
llvm-svn: 44642
|