| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Again, I tried to update cmake but it is untested.
llvm-svn: 67605
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"FileID" a concept that is now enforced by the compiler's type checker
instead of yet-another-random-unsigned floating around.
This is an important distinction from the "FileID" currently tracked by
SourceLocation. *That* FileID may refer to the start of a file or to a
chunk within it. The new FileID *only* refers to the file (and its
#include stack and eventually #line data), it cannot refer to a chunk.
FileID is a completely opaque datatype to all clients, only SourceManager
is allowed to poke and prod it.
llvm-svn: 62407
|
|
|
|
|
|
|
|
| |
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and
SourceLocation.h)
- Move ASTContext constructor into implementation
llvm-svn: 54627
|
|
|
|
|
|
|
|
| |
bug. Patch by Jean-Daniel Dupas!
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002166.html
llvm-svn: 53184
|
|
|
|
| |
llvm-svn: 49973
|
|
|
|
|
|
|
| |
This is a workaround until we figure out why a freshly create Preprocessor
doesn't expand macros from headers.
llvm-svn: 49897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dstor.
clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and
passes it to the preprocessor object.
clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main().
html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new
Preprocessor to highlight macros.
class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros().
Updated clients of HTMLDiagnostics to use this new interface.
llvm-svn: 49875
|
|
|
|
|
|
| |
'replace' operations and insert operations. This fixes a problem with "&;&" on line 666 of the gcc.c example I sent out.
llvm-svn: 49874
|
|
|
|
|
|
|
| |
currently doesn't pass in the Preprocessor from the driver, so we don't get
syntax highlighting when we create HTMLDiagnostics in that way.
llvm-svn: 49796
|
|
|
|
|
|
|
|
|
| |
allowing us to use a cheaper means to highlight keywords and making
it so that comments won't foul up macro expansions.
Start highlighting macro expansions.
llvm-svn: 49779
|
|
|
|
|
|
|
|
| |
problems, including the fact that it doesn't work well with multi-line
comments due to Ted's crazy table. However, that could be fixed, and it
does work with single-line ones :).
llvm-svn: 49778
|
|
|
|
| |
llvm-svn: 49777
|
|
|
|
|
|
| |
functionality has been migrated into "--emit-html" and "--html-diags".
llvm-svn: 49776
|
|
|
|
| |
llvm-svn: 49764
|
|
|
|
| |
llvm-svn: 49688
|
|
|
|
|
|
| |
FileID comparison (fixes insidious corner case with chunks).
llvm-svn: 49684
|
|
|
|
| |
llvm-svn: 49409
|
|
|
|
| |
llvm-svn: 48572
|
|
|
|
|
|
| |
better div positioning for messages.
llvm-svn: 48555
|
|
|
|
| |
llvm-svn: 48540
|
|
|
|
| |
llvm-svn: 48537
|
|
|
|
|
|
| |
pretty-printing of line numbers.
llvm-svn: 48533
|
|
|
|
|
|
|
|
|
| |
complicated
and clients can achieve a cleaner design just by inserting tags directly. Reserve
the "html" namespace for meta-level operations (e.g., escaping text, etc.)
llvm-svn: 48524
|
|
|
|
| |
llvm-svn: 48518
|
|
|
|
|
|
| |
numbers (more work to be done on aesthetics).
llvm-svn: 48512
|
|
llvm-svn: 48507
|