| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 51646
|
|
|
|
|
|
| |
no functionality change.
llvm-svn: 51497
|
|
|
|
| |
llvm-svn: 51494
|
|
|
|
| |
llvm-svn: 51431
|
|
|
|
| |
llvm-svn: 51391
|
|
|
|
|
|
|
| |
ASTs. This is a hack, but I haven't considered how we really
want to do this.
llvm-svn: 51364
|
|
|
|
|
|
|
|
| |
__CFConstantStringClassReference[];" should be extern "C".
Have clang predefine OBJC_NEW_PROPERTIES (which is what gcc does).
llvm-svn: 51163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macros but doesn't expand #includes, remove comments, remove #defines
etc.
For example:
----
#include <stdio.h>
#define bbaa
#define funclike(x) x "a" x "b" x
bbaa bbaa
#if 1
funclike("gar")
foo /*blah*/ bar
bar
#endif
#if 0
funclike()
#endif
----
rewrites to:
----
#include <stdio.h>
#define bbaa
#define funclike(x) x "a" x "b" x
/*bbaa bbaa*/
#if 1
"gar" "a" "gar" "b" "gar"/*funclike*//*("gar")*/
foo /*blah*/ bar
bar
#endif
#if 0
/*funclike()*/
#endif
----
llvm-svn: 50925
|
|
|
|
| |
llvm-svn: 50920
|
|
|
|
|
|
| |
declaration in preamble does not match objc/objc-exception.h.
llvm-svn: 50915
|
|
|
|
| |
llvm-svn: 50873
|
|
|
|
|
|
| |
structure generated for class
llvm-svn: 50862
|
|
|
|
|
|
| |
information. This patch currently enables generation of line number debug information (stoppoints) and region begin/end debug information. The new files CGDebugInfo.h and CGDebugInfo.cpp implements the debug info manager class CGDebugInfo.
llvm-svn: 50848
|
|
|
|
| |
llvm-svn: 50847
|
|
|
|
| |
llvm-svn: 50845
|
|
|
|
|
|
| |
'offsetof' macro
llvm-svn: 50832
|
|
|
|
|
|
|
| |
properties. Couple of property tests will fail with this patch.
Will fix them next.
llvm-svn: 50818
|
|
|
|
| |
llvm-svn: 50790
|
|
|
|
| |
llvm-svn: 50783
|
|
|
|
|
|
| |
structure generated for class
llvm-svn: 50781
|
|
|
|
| |
llvm-svn: 50779
|
|
|
|
|
|
| |
declarations instead of putting them in the preamble?
llvm-svn: 50774
|
|
|
|
|
|
| |
twice when two interfaces use it in same file
llvm-svn: 50767
|
|
|
|
|
|
|
| |
(was IdentifierInfo * before). This will make method declartations whole
lot easier.
llvm-svn: 50747
|
|
|
|
| |
llvm-svn: 50672
|
|
|
|
|
|
| |
properties declared in the protocol.
llvm-svn: 50662
|
|
|
|
|
|
|
| |
pedantic error. Perhaps I should add a class of 'extension' that is
'extension that warns by default', which would be cleaner.
llvm-svn: 50633
|
|
|
|
|
|
| |
prefix for all files.
llvm-svn: 50592
|
|
|
|
|
|
| |
basic warnings (dead stores, null dereferences) on the first pass.
llvm-svn: 50584
|
|
|
|
|
|
| |
a CF memory leak occurred with GC enabled, etc.
llvm-svn: 50507
|
|
|
|
|
|
| |
The transfer functions for the checker don't do anything special yet in GC mode.
llvm-svn: 50394
|
|
|
|
|
|
| |
Add corresponding enum in LangOptions.
llvm-svn: 50387
|
|
|
|
| |
llvm-svn: 50234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when it is constructed via deserialization. This is done by recording a flag
indicating that this is the case, and it deletes these objects by getting
the references stored in the ASTContext object. This fixes some memory
leaks that occurs when we deserialize translation units from bitcode files.
The rationale between having TranslationUnit sometimes own these objects and
sometimes not is that a TranslationUnit object can be constructed from
state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus
in these cases won't own the IdentifierTable or Selectors, etc. During
deserialization, there is no Preprocessor, so somebody needs to own these
objects in order for them to be properly reclaimed.
llvm-svn: 50149
|
|
|
|
|
|
| |
to print declaration from its AST.
llvm-svn: 50117
|
|
|
|
|
|
|
|
|
|
| |
them to not be stack-allocated.
HTMLDiagnostics now batches PathDiagnostics before emitting HTML in its dtor.
This is a workaround for a problem when we trampled the Preprocessor state
when highlighting macros (sometimes resulting in an assertion failure).
llvm-svn: 50102
|
|
|
|
| |
llvm-svn: 49982
|
|
|
|
| |
llvm-svn: 49974
|
|
|
|
| |
llvm-svn: 49973
|
|
|
|
|
|
| |
with list of protocols has wrong cast).
llvm-svn: 49935
|
|
|
|
|
|
| |
refs outside a method are being rewritten
llvm-svn: 49932
|
|
|
|
|
|
| |
not being rewritten properly.
llvm-svn: 49925
|
|
|
|
|
|
|
| |
This is a workaround until we figure out why a freshly create Preprocessor
doesn't expand macros from headers.
llvm-svn: 49897
|
|
|
|
| |
llvm-svn: 49893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
While this adds no extra functionality now, we will soon pass the
PreprocessorFactory object to some ASTConsumers.
llvm-svn: 49873
|
|
|
|
|
|
| |
avoid corrupting Preprocessor state. Working on a fix.
llvm-svn: 49864
|
|
|
|
| |
llvm-svn: 49863
|
|
|
|
|
|
|
| |
Added assertion if unexpected property decls are found where they don't belong.
Consolidated property decl. printing by using a helper function.
llvm-svn: 49862
|