- Jun 05, 2011
-
-
Rafael Espindola authored
llvm-svn: 132653
-
- Jun 04, 2011
-
-
Richard Smith authored
llvm-svn: 132651
-
Roman Divacky authored
llvm-svn: 132635
-
Roman Divacky authored
llvm-svn: 132634
-
Nick Lewycky authored
to the linker. llvm-svn: 132629
-
Nick Lewycky authored
common C++ pattern of using the same name for the constructor argument as you do for the member. Noticed by inspection. llvm-svn: 132626
-
Alexis Hunt authored
the self-host failures and Chandler's concerns. llvm-svn: 132622
-
Jordy Rose authored
llvm-svn: 132618
-
Jordy Rose authored
[analyzer] Don't crash when copying an unknown number of bytes with memcpy(). Also handle all memcpy-family return values in evalCopyCommon(), rather than having some outside and some inside. llvm-svn: 132617
-
Jordy Rose authored
llvm-svn: 132614
-
Tanya Lattner authored
__builtin_astype(): Used to reinterpreted as another data type of the same size using for both scalar and vector data types. Added test case. llvm-svn: 132612
-
Devang Patel authored
Emit debug info only if there is an insertion point. The debug info should not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132610
-
Jordy Rose authored
llvm-svn: 132608
-
Jordy Rose authored
llvm-svn: 132607
-
Jordy Rose authored
llvm-svn: 132605
-
Jonathan D. Turner authored
Improvements to abbreviations for PCH which add support for EnumDecl, ObjCIvarDecl, TypedefDecl, VarDecl and FieldDecl and improve support for ParmVarDecl. llvm-svn: 132604
-
Douglas Gregor authored
libclang. Fixes <rdar://problem/9537904>. llvm-svn: 132603
-
- Jun 03, 2011
-
-
Jonathan D. Turner authored
llvm-svn: 132596
-
Alexis Hunt authored
suggested by Chandler. llvm-svn: 132593
-
Devang Patel authored
Emit debug info only if there is an insertion point. The debug info should not force an insertion point. Codegen may later on decide to not emit code for some reason, see extensive comment in CodeGenFunction::EmitStmt(), and debug info should not get in the way. llvm-svn: 132576
-
Alexis Hunt authored
destructors are implemented but other special members are on the way, which is where the real benefits of this will be visible. llvm-svn: 132572
-
Matt Beaumont-Gay authored
passing -Wunknown-warning-option will re-enable warnings about -Wno-foo. llvm-svn: 132570
-
Hans Wennborg authored
Warn in cases such as "x + someCondition ? 42 : 0;", where the condition expression looks arithmetic, and has a right-hand side that looks boolean. This (partly) addresses http://llvm.org/bugs/show_bug.cgi?id=9969 llvm-svn: 132565
-
Hans Wennborg authored
In code such as "char* volatile const j()", Clang warns that "volatile const" will be ignored. Make it point to the first ignored qualifier, and simplify the code a bit. llvm-svn: 132563
-
Devang Patel authored
llvm-svn: 132560
-
Devang Patel authored
llvm-svn: 132557
-
Rafael Espindola authored
we look in /usr/lib to find crt1.o, and that depends only on where libc is installed. This fixes the case of using a different gcc installation in a distro without multilib. llvm-svn: 132551
-
Rafael Espindola authored
llvm-svn: 132550
-
Eric Christopher authored
llvm-svn: 132548
-
Douglas Gregor authored
Sema::RequireCompleteExprType() a bit more, setting the point of instantiation if needed, and skipping explicit specializations entirely. llvm-svn: 132547
-
Francois Pichet authored
llvm-svn: 132546
-
Francois Pichet authored
llvm-svn: 132544
-
Eric Christopher authored
llvm-svn: 132543
-
Eric Christopher authored
places this is a problem. llvm-svn: 132542
-
Eric Christopher authored
Patch by Tobias Hunger! Fixes PR10008 llvm-svn: 132541
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 132540
-
Francois Pichet authored
My testing shows that function stat has no problem with trailing separators. (tested on Windows and Darwin). This fixes a bug on Windows: clang c:\test.cpp Here the call stat("c:") is not recognized as a directory (must be "c:\"). llvm-svn: 132539
-
Francois Pichet authored
I'll try to implement this functionality again soon. llvm-svn: 132536
-
Chandler Carruth authored
diagnostic group to cover the cases where we have definitively bad behavior: dynamic classes. It also rips out the existing support for POD-based checking. This didn't work well, and triggered too many false positives. I'm looking into a possibly more principled way to warn on the fundamental buggy construct here. POD-ness isn't the critical aspect anyways, so a clean slate is better. This also removes some silliness from the code until the new checks arrive. llvm-svn: 132534
-
NAKAMURA Takumi authored
llvm-svn: 132531
-