| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 68878
|
| |
|
|
| |
llvm-svn: 68877
|
| |
|
|
|
|
| |
to their arguments.
llvm-svn: 68876
|
| |
|
|
|
|
|
| |
a block without a prototype should still coerce a return in it to
use the declared return type.
llvm-svn: 68875
|
| |
|
|
| |
llvm-svn: 68874
|
| |
|
|
| |
llvm-svn: 68873
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) improve localizability by not passing english strings in.
2) improve location for arguments.
3) print the objc type being passed.
Before:
method-bad-param.m:15:1: error: Objective-C type cannot be passed by value
-(void) my_method:(foo) my_param
^
after:
method-bad-param.m:15:25: error: Objective-C interface type 'foo' cannot be passed by value
-(void) my_method:(foo) my_param
^
llvm-svn: 68872
|
| |
|
|
|
|
|
| |
information in a little struct instead of individually. While we're
at it, add per-argument loc info and attribute info.
llvm-svn: 68871
|
| |
|
|
| |
llvm-svn: 68870
|
| |
|
|
|
|
|
|
|
|
|
| |
down to the ActionBase class. This eliminates dependencies of (e.g.)
DeclSpec.h on Action.h, meaning that action.h can now include these
headers and use their types directly in the actions interfaces.
This is a refactoring to support a future change, no functionality
change.
llvm-svn: 68869
|
| |
|
|
|
|
| |
thanks to Tobias Stadler for pointing this out.
llvm-svn: 68868
|
| |
|
|
|
|
|
| |
since it only parses one identifier out of the selector, not the
whole thing.
llvm-svn: 68867
|
| |
|
|
|
|
| |
indent code properly
llvm-svn: 68866
|
| |
|
|
| |
llvm-svn: 68865
|
| |
|
|
| |
llvm-svn: 68864
|
| |
|
|
|
|
|
| |
from the assembler:
Error: unknown pseudo-op: `.debug_inlined'
llvm-svn: 68863
|
| |
|
|
| |
llvm-svn: 68860
|
| |
|
|
| |
llvm-svn: 68857
|
| |
|
|
|
|
| |
-lstdc++ are inputs too.
llvm-svn: 68854
|
| |
|
|
| |
llvm-svn: 68853
|
| |
|
|
| |
llvm-svn: 68852
|
| |
|
|
| |
llvm-svn: 68849
|
| |
|
|
|
|
|
|
| |
collected when nested llvm.dbg.func.start intrinsics are seen. (Right now, inliner removes nested llvm.dbg.func.start intrinisics during inlining.)
Create debug_inlined dwarf section using these information. This info is used by gdb, at least on Darwin, to enable better experience debugging inlined functions. See DwarfWriter.cpp for more information on structure of debug_inlined section.
llvm-svn: 68847
|
| |
|
|
|
|
|
| |
so that we only need to perform the lookup and identifier resolution
once per identifier in the PCH file.
llvm-svn: 68846
|
| |
|
|
|
|
|
|
|
| |
ProgramPoints all the way through to GRCoreEngine.
NSString.m now fails with RegionStoreManager because of the void** cast.
Disabling use of region store for that test for now.
llvm-svn: 68845
|
| |
|
|
|
|
| |
the attribute set on them.
llvm-svn: 68844
|
| |
|
|
|
|
| |
don't configure the ARM target in.
llvm-svn: 68843
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
buffer generated for the current translation unit. If they are
different, complain and then ignore the PCH file. This effectively
checks for all compilation options that somehow would affect
preprocessor state (-D, -U, -include, the dreaded -imacros, etc.).
When we do accept the PCH file, throw away the contents of the
predefines buffer rather than parsing them, since all of the results
of that parsing are already stored in the PCH file. This eliminates
the ugliness with the redefinition of __builtin_va_list, among other
things.
llvm-svn: 68838
|
| |
|
|
| |
llvm-svn: 68837
|
| |
|
|
| |
llvm-svn: 68836
|
| |
|
|
|
|
| |
CleanupEntries vector needed to be reallocated.
llvm-svn: 68835
|
| |
|
|
| |
llvm-svn: 68834
|
| |
|
|
| |
llvm-svn: 68833
|
| |
|
|
|
|
|
| |
PCH. This works now, except for limitations not being able to do things
with identifiers. The basic example in the testcase works though.
llvm-svn: 68832
|
| |
|
|
| |
llvm-svn: 68831
|
| |
|
|
|
|
|
|
|
|
| |
Preprocessor.cpp
into clang-cc.cpp. This makes it so clang-cc constructs the *entire* predefines
buffer, not just half of it. A bonus of this is that we get to kill a copy
of DefineBuiltinMacro.
llvm-svn: 68830
|
| |
|
|
| |
llvm-svn: 68829
|
| |
|
|
|
|
|
| |
fixme's, e.g. for tokens with identifiers) but does not actually install
them. Some details with the predefines buffer needs to be sorted out first.
llvm-svn: 68828
|
| |
|
|
| |
llvm-svn: 68827
|
| |
|
|
| |
llvm-svn: 68826
|
| |
|
|
| |
llvm-svn: 68825
|
| |
|
|
|
|
| |
using the PCH file
llvm-svn: 68824
|
| |
|
|
|
|
|
| |
more, it gives us a tremendous amount of flexibility for extending the analyzer
to handle arbitrary program points.
llvm-svn: 68823
|
| |
|
|
| |
llvm-svn: 68822
|
| |
|
|
| |
llvm-svn: 68821
|
| |
|
|
|
|
|
|
|
| |
file. When de-serializing LangOptions, we check that the
currently-provided language options are consistent with the options
used to compile the PCH file. If they are not, we emit a diagnostic
and ignore the PCH file.
llvm-svn: 68820
|
| |
|
|
|
|
| |
do not support it.
llvm-svn: 68819
|
| |
|
|
|
|
|
|
| |
their emission was deferred.
- <rdar://problem/6775234> variables with internal linkage should not
be exposed with -fvisibility=hidden.
llvm-svn: 68818
|
| |
|
|
| |
llvm-svn: 68817
|
| |
|
|
| |
llvm-svn: 68816
|