- Oct 27, 2012
-
-
Rafael Espindola authored
llvm-svn: 166878
-
Rafael Espindola authored
llvm-svn: 166876
-
Mahesha S authored
llvm-svn: 166871
-
Mahesha S authored
OpenMP support. Sub-Feature: Support for "#pragma omp ..." registration with Preprocessor. Files Changed/Added: * include/clang/Basic/DiagnosticGroups.td (C) * include/clang/Basic/DiagnosticParseKinds.td (C) * include/clang/Basic/TokenKinds.def (C) * include/clang/Parse/Parser.h (C) * lib/Parse/Parser.cpp (C) Test Cases Changed/Added: * test/Preprocessor/pragma_omp.c (A) * test/Preprocessor/pragma_omp_ignored_warning.c (A) llvm-svn: 166869
-
Mahesha S authored
Feature: OpenMP support in CLANG: Sub-Feature: Support for option -fopenmp Files Changed/Added: * include/clang/Driver/Options.td (C) * include/clang/Basic/LangOptions.def (C) * lib/Driver/Tools.cpp (C) * lib/Frontend/CompilerInvocation.cpp (C) Test Cases Changed/Added: * test/Driver/clang_fopenmp_opt.c (A) ------------------------------------------------- llvm-svn: 166868
-
Rafael Espindola authored
llvm-svn: 166866
-
Rafael Espindola authored
to reduce. llvm-svn: 166863
-
-
Rafael Espindola authored
jump over destructor calls. Fixes pr13812. llvm-svn: 166855
-
Eli Friedman authored
llvm-svn: 166833
-
Eli Friedman authored
llvm-svn: 166832
-
Argyrios Kyrtzidis authored
is at the end of parsed tokens when an error occurs, otherwise we'll hit an assertion when trying to annotate the decltype tokens. llvm-svn: 166826
-
-
Douglas Gregor authored
doesn't include padding up to the alignment of the record, take this as a cue that the alignment of the record should (conservatively) be set to 1. This is similar to other the other cues we use to determine that the record has a lower alignment, e.g., that the externally-supplied layout places fields at lower offsets than we would. Fixes <rdar://problem/12582052>; test case in LLDB. llvm-svn: 166824
-
- Oct 26, 2012
-
-
Bill Schmidt authored
added to ensure no extra alignment code is added in the future. llvm-svn: 166812
-
Fariborz Jahanian authored
extern "C", its method definitions must be IRGen'ed before meta-data for class is generated. Otherwise, IRGen crashes (to say the least). // rdar://12581683 llvm-svn: 166809
-
Argyrios Kyrtzidis authored
is absolute. llvm-svn: 166808
-
Bill Schmidt authored
varargs parameter passing. A strict reading of the ABI indicates that any argument with alignment greater than 8 may require skipping doublewords in the parameter save area to align the argument, and hence require skipping GPRs. In practice, this is not done by GCC. The alignment restriction is used for internal alignment of a structure, but a structure with 16-byte alignment, for example, is not itself 16-byte aligned in the parameter save area. Although this is messy, it has become the de facto standard used in building existing libraries. My initial varargs support followed the ABI language, but not the de facto standard. Running the GCC compatibility test suite exposed this issue, and indeed showed that LLVM didn't pass parameters self-consistently with my original logic. Removing the additional alignment logic allows the affected tests to now pass. I modified the ppc64-varargs-struct.c test case to remove the existing test for generation of alignment code, which is no longer appropriate. Built and tested on powerpc64-unknown-linux-gnu with no new regressions. llvm-svn: 166805
-
Argyrios Kyrtzidis authored
llvm-svn: 166801
-
Daniel Dunbar authored
unprintable. llvm-svn: 166798
-
Chad Rosier authored
llvm-svn: 166793
-
Chad Rosier authored
llvm-svn: 166791
-
David Tweed authored
Patch by Joey Gouly. llvm-svn: 166765
-
Bill Wendling authored
llvm-svn: 166759
-
Alexey Samsonov authored
llvm-svn: 166758
-
Quentin Colombet authored
llvm-svn: 166744
-
Manman Ren authored
There intrinsics pass through the upper FP values from the input. rdar://12558838 llvm-svn: 166743
-
Bill Wendling authored
This code checks the ASM string to see if the output size is able to fit within the variable specified as the output. For instance, scalar-to-vector conversions may not really work. It's on by default, but can be turned off with a flag if you think you know what you're doing. This is placed under a flag ('-Wasm-operand-widths') and flag group ('-Wasm'). <rdar://problem/12284092> llvm-svn: 166737
-
Richard Smith authored
llvm-svn: 166735
-
Richard Smith authored
LLVM's hashing routines produce a size_t, and thus generate different values for 32- and 64-bit host compilers. This really needs to be fixed -- the IR generated should not depend on the host -- but this change will get the bots green again. Proper fix to follow. llvm-svn: 166731
-
Ted Kremenek authored
path notes for cases where a value may be assumed to be null, etc. Instead of having redundant diagnostics, do a pass over the generated PathDiagnostic pieces and remove notes from TrackConstraintBRVisitor that are already covered by ConditionBRVisitor, whose notes tend to be better. Fixes <rdar://problem/12252783> llvm-svn: 166728
-
- Oct 25, 2012
-
-
Richard Smith authored
llvm-svn: 166727
-
Chad Rosier authored
llvm-svn: 166725
-
Kaelyn Uhrain authored
llvm-svn: 166711
-
Douglas Gregor authored
array-index starting values for the 'this' capture. Fixes <rdar://problem/12426831>. llvm-svn: 166709
-
NAKAMURA Takumi authored
clang/test/CodeGenCXX/debug-info-thunk.cpp: Suppress it for now with XFAIL:*, due to failing on i686-*-*. llvm-svn: 166683
-
David Tweed authored
Correct test inovocations to use %clang_cc1 rather than direct invocation (so that it can have additional options set when trying to debug issues causing regressions). llvm-svn: 166681
-
Alexey Samsonov authored
Initialize debug info for special cases of functions that lack declarations and are generated by Clang (global initializers/destructors, thunks) . Fixes PR13942. llvm-svn: 166676
-
Argyrios Kyrtzidis authored
when computing the size of the precompiled preamble. llvm-svn: 166659
-
Douglas Gregor authored
llvm-svn: 166656
-