Benjamin Kramer
|
8fd8ee9b71
Simplify code. No functionality change.
|
12 سال پیش |
Eli Friedman
|
f5bf912767
When evaluating variably modified types for function parameters, dig out the
|
12 سال پیش |
Richard Smith
|
d6396a681c
Use the individual -fsanitize=<...> arguments to control which of the UBSan
|
12 سال پیش |
Richard Smith
|
7edf9e38b9
Simplify: replace getContext().getLangOpts() with just getLangOpts().
|
12 سال پیش |
Micah Villmow
|
956a5a1771
Cleanup some clang code to use new type functions instead of using cast<>.
|
13 سال پیش |
Douglas Gregor
|
4cdad3151b
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
|
13 سال پیش |
Alexey Samsonov
|
a240df2ec1
Transform pattern:
|
13 سال پیش |
Richard Smith
|
802cd5b197
At -O0, emit an @llvm.trap() call at the end of a value-returning function which
|
13 سال پیش |
Bill Wendling
|
fac6310528
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.
|
13 سال پیش |
Richard Smith
|
bf43f2fdfb
Tidy up formatting.
|
13 سال پیش |
Richard Smith
|
930c05c32e
-fcatch-undefined-behavior: catch a VLA bound which evalutes to a non-positive value.
|
13 سال پیش |
Richard Smith
|
4def70d304
-fcatch-undefined-behavior: emit calls to the runtime library whenever one of the checks fails.
|
13 سال پیش |
Micah Villmow
|
25a6a84cf5
Move TargetData to DataLayout.
|
13 سال پیش |
Richard Smith
|
36ef0d54cf
If we flow off the end of a value-returning function:
|
13 سال پیش |
Richard Trieu
|
e1ecdc1681
Change APInt to APSInt in one instance. Also change a call to operator==() to
|
13 سال پیش |
Chandler Carruth
|
6bebe5aca3
Update Clang to reflect the move of MDBuilder in r160237.
|
13 سال پیش |
Tanya Lattner
|
198871cc90
Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec.
|
13 سال پیش |
Tanya Lattner
|
0df579ec00
Patch by Anton Lokhmotov to add OpenCL work group size attributes.
|
13 سال پیش |
Fariborz Jahanian
|
4904bf4e84
block literal irgen: several improvements on naming block
|
13 سال پیش |
James Dennett
|
2ee5ba35fe
Documentation cleanup:
|
13 سال پیش |
Nuno Lopes
|
def18494b9
wire -fbounds-checking to the new LLVM bounds checking pass
|
13 سال پیش |
Nuno Lopes
|
b3198a841e
add -fbounds-checking option.
|
13 سال پیش |
Alexey Samsonov
|
fd00eecad6
This patch adds a new Clang compiler flag "-gline-tables-only".
|
13 سال پیش |
Richard Smith
|
1664d540d1
PR12571: Objects of type clang::ConstantArrayType aren't always emitted with
|
13 سال پیش |
Duncan Sands
|
3c6ed1b5c5
Remove support for -fast-math metadata for the moment.
|
13 سال پیش |
Duncan Sands
|
10e675d482
Generate fpmath metadata when -ffast-math. Note that no optimizations are hooked
|
13 سال پیش |
Eli Friedman
|
377ecc7996
Propagate alignment on lvalues through EmitLValueForField. PR12395.
|
13 سال پیش |
Chad Rosier
|
8fbe3855db
[frontend] Add support for disabling the "inline" keyword using
|
13 سال پیش |
David Blaikie
|
4e4d08403c
Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST).
|
13 سال پیش |
Eli Friedman
|
23f0267e2d
Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap.
|
13 سال پیش |