History log of /llvm-project/clang/lib/Frontend/CompilerInvocation.cpp (Results 1601 – 1625 of 1971)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# db3da83b 21-Aug-2012 Chad Rosier <mcrosier@apple.com>

[driver] Add support for the --param ssp-buffer-size= driver option.
PR9673

llvm-svn: 162285


# 3deb1ad4 21-Aug-2012 John McCall <rjmccall@apple.com>

Screw around with ObjCRuntime some more, changing the
diagnostics for bad deployment targets and adding a few
more predicates. Includes a patch by Jonathan Schleifer
to enable ARC for ObjFW.

llvm-s

Screw around with ObjCRuntime some more, changing the
diagnostics for bad deployment targets and adding a few
more predicates. Includes a patch by Jonathan Schleifer
to enable ARC for ObjFW.

llvm-svn: 162252

show more ...


# 4c004f3e 08-Aug-2012 Dylan Noblesmith <nobled@dreamwidth.org>

Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz

Add some tests for __OPTIMIZE_SIZE__ and __NO_INLINE__,
removing the superfluous copies in the target-specific
tests, since it's target-independent.

Th

Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz

Add some tests for __OPTIMIZE_SIZE__ and __NO_INLINE__,
removing the superfluous copies in the target-specific
tests, since it's target-independent.

This uncovered a bug in the handling of -Oz: it would
attempt to store the value 2 in the 1-bit bitfield OptimizeSize,
leaving a value of 0 and never defining __OPTIMIZE_SIZE__.

llvm-svn: 161495

show more ...


# a765bac7 31-Jul-2012 Jordan Rose <jordan_rose@apple.com>

[analyzer] Turn -cfg-add-initializers on by default, and remove the flag.

llvm-svn: 161060


# 4de03594 31-Jul-2012 Alexander Kornienko <alexfh@google.com>

Added -ast-list option to dump filterable AST decl node names.

llvm-svn: 161040


# 3db68ee1 26-Jul-2012 Alexander Kornienko <alexfh@google.com>

Added -ast-dump-filter option to clang -cc1.

llvm-svn: 160784


# d3957e57 20-Jul-2012 Chad Rosier <mcrosier@apple.com>

Rename -fms-inline-asm to -fenable-experimental-ms-inline-asm.

llvm-svn: 160590


# 7a96c778 20-Jul-2012 Chad Rosier <mcrosier@apple.com>

Add the mechanics for -fms-inline-asm. No easy way to test at this time.

llvm-svn: 160580


# 6a039161 19-Jul-2012 Bob Wilson <bob.wilson@apple.com>

Define __FINITE_MATH_ONLY__ based on -ffast-math and -ffinite-math-only.

This macro was being unconditionally set to zero, preceded by a FIXME comment.
This fixes <rdar://problem/11845441>. Patch b

Define __FINITE_MATH_ONLY__ based on -ffast-math and -ffinite-math-only.

This macro was being unconditionally set to zero, preceded by a FIXME comment.
This fixes <rdar://problem/11845441>. Patch by Michael Gottesman!

llvm-svn: 160491

show more ...


# 7445ada9 11-Jul-2012 Tanya Lattner <tonic@nondot.org>

Add OpenCL metadata for kernel arg names. This output is controlled via a flag as noted in the OpenCL Spec.
Includes a test case.

llvm-svn: 160092


# aa53b936 06-Jul-2012 Lang Hames <lhames@gmail.com>

Add -ffp-contract = { fast | on | off } command line option support.

This flag sets the 'fp-contract' mode, which controls the formation of fused
floating point operations. Available modes are:

-

Add -ffp-contract = { fast | on | off } command line option support.

This flag sets the 'fp-contract' mode, which controls the formation of fused
floating point operations. Available modes are:

- Fast: Form fused operations anywhere.
- On: Form fused operations where allowed by FP_CONTRACT. This is the default
mode.
- Off: Don't form fused operations (in future this may be relaxed to forming
fused operations where it can be proved that the result won't be
affected).

Currently clang doesn't support the FP_CONTRACT pragma, so the 'On' and 'Off'
modes are equivalent.

llvm-svn: 159794

show more ...


# 271205ce 02-Jul-2012 Douglas Gregor <dgregor@apple.com>

Reduce default template instantiation depth to 512; we're blowing out
the stack too often with 1024. Fixes <rdar://problem/11678534>.

llvm-svn: 159573


# 3292d06a 02-Jul-2012 Dmitri Gribenko <gribozavr@gmail.com>

Add a new libclang completion API to get brief documentation comment that is
attached to a declaration in the completion string.

Since extracting comments isn't free, a new code completion option is

Add a new libclang completion API to get brief documentation comment that is
attached to a declaration in the completion string.

Since extracting comments isn't free, a new code completion option is
introduced.

A new code completion option that enables including brief comments
into CodeCompletionString should be a, err, code completion option.
But because ASTUnit caches global declarations during parsing before
even completion consumer is created, the option is duplicated as a
translation unit option (in both libclang and ASTUnit, like the option
to cache code completion results).

llvm-svn: 159539

show more ...


# f60f6af9 28-Jun-2012 Hans Wennborg <hans@hanshq.net>

Add -ftls-model command-line flag.

This allows for setting the default TLS model. (PR9788)

llvm-svn: 159336


# 91844239 26-Jun-2012 Richard Trieu <rtrieu@google.com>

Add template type diffing to Clang. This feature will provide a better
comparison between two templated types when they both appear in a diagnostic.
Type elision will remove indentical template argu

Add template type diffing to Clang. This feature will provide a better
comparison between two templated types when they both appear in a diagnostic.
Type elision will remove indentical template arguments, which can be disabled
with -fno-elide-type. Cyan highlighting is applied to the differing types.

For more formatting, -fdiagnostic-show-template-tree will output the template
type as an indented text tree, with differences appearing inline. Template
tree works with or without type elision.

llvm-svn: 159216

show more ...


# 5fb5df9c 20-Jun-2012 John McCall <rjmccall@apple.com>

Restructure how the driver communicates information about the
target Objective-C runtime down to the frontend: break this
down into a single target runtime kind and version, and compute
all the rele

Restructure how the driver communicates information about the
target Objective-C runtime down to the frontend: break this
down into a single target runtime kind and version, and compute
all the relevant information from that. This makes it
relatively painless to add support for new runtimes to the
compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z,
available at the driver level as a better and more general
alternative to -fgnu-runtime and -fnext-runtime. This new
concept of an Objective-C runtime also encompasses what we
were previously separating out as the "Objective-C ABI", so
fragile vs. non-fragile runtimes are now really modelled as
different kinds of runtime, paving the way for better overall
differentiation.

As a sort of special case, continue to accept the -cc1 flag
-fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak.

I won't go so far as to say "no functionality change", even
ignoring the new driver flag, but subtle changes in driver
semantics are almost certainly not intended.

llvm-svn: 158793

show more ...


# 4fdce3fa 19-Jun-2012 Tanya Lattner <tonic@nondot.org>

Extend the support for cl-std to include 1.2.
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature.
Added

Extend the support for cl-std to include 1.2.
Add error checking for the static qualifier which is now allowed in certain situations for OpenCL 1.2. Use the CL version to turn on this feature.
Added test case for 1.2 static storage class feature.

llvm-svn: 158759

show more ...


# 66aa045f 19-Jun-2012 Rafael Espindola <rafael.espindola@gmail.com>

Add a -fuse-init-array option to cc1 and map to the UseInitArray target
option. On the driver, check if we are using libraries from gcc 4.7 or newer
and if so pass -fuse-init-array to the frontend.
T

Add a -fuse-init-array option to cc1 and map to the UseInitArray target
option. On the driver, check if we are using libraries from gcc 4.7 or newer
and if so pass -fuse-init-array to the frontend.
The crtbegin*.o files in gcc 4.7 no longer call the constructors listed in
.ctors, so we have to use .init_array.

llvm-svn: 158694

show more ...


# 79425047 18-Jun-2012 Tanya Lattner <tonic@nondot.org>

Add language std for OpenCL 1.1 and 1.2.

llvm-svn: 158686


# e993e4cd 14-Jun-2012 David Blaikie <dblaikie@gmail.com>

Support -frewrite-includes as an option while preprocessing.

llvm-svn: 158460


# 619117a3 14-Jun-2012 David Blaikie <dblaikie@gmail.com>

Rename -rewrite-includes to -frewrite-includes.

llvm-svn: 158458


# 8acadcb8 13-Jun-2012 Richard Smith <richard-llvm@metafoo.co.uk>

Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
override whether headers are system headers by checking for prefixes of the
header name specified in the #include directive.

Add -isystem-prefix and -ino-system-prefix arguments, which can be used to
override whether headers are system headers by checking for prefixes of the
header name specified in the #include directive.

This allows warnings to be disabled for third-party code which is found in
specific subdirectories of include paths.

llvm-svn: 158418

show more ...


# ff32674d 11-Jun-2012 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Const'ify CompilerInvocation::toArgs().

llvm-svn: 158298


# d5321247 06-Jun-2012 David Blaikie <dblaikie@gmail.com>

Add a -rewrite-includes option, which is similar to -rewrite-macros, but only expands #include directives.

Patch contributed by Lubos Lunak (l.lunax@suse.cz).
Review by Matt Beaumont-Gay (matthewbg@

Add a -rewrite-includes option, which is similar to -rewrite-macros, but only expands #include directives.

Patch contributed by Lubos Lunak (l.lunax@suse.cz).
Review by Matt Beaumont-Gay (matthewbg@google.com).

llvm-svn: 158093

show more ...


# a425589f 22-May-2012 Nuno Lopes <nunoplopes@sapo.pt>

wire -fbounds-checking to the new LLVM bounds checking pass

llvm-svn: 157262


1...<<61626364656667686970>>...79