History log of /llvm-project/clang/lib/Frontend/CompilerInvocation.cpp (Results 1701 – 1725 of 1971)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ba743b75 21-Oct-2011 Nick Lewycky <nicholas@mxc.ca>

Take DW_AT_comp_dir from $PWD when it's present and starts with a '/'. This is
closer to what GCC does, except that GCC also checks that the inodes for $PWD
and '.' match.

llvm-svn: 142633


# b274318b 18-Oct-2011 Daniel Dunbar <daniel@zuster.org>

Frontend: Support -iframework.

llvm-svn: 142418


# 1d617ace 17-Oct-2011 Nick Lewycky <nicholas@mxc.ca>

Wire up support for the controlling the extended dwarf .file directive. With
r142300 but not this patch, clang -S may emit .s files that assemblers other
than llvm-mc can't parse.

llvm-svn: 142301


Revision tags: llvmorg-3.0.0-rc1
# 71129d5e 17-Oct-2011 Douglas Gregor <dgregor@apple.com>

When building a module, use the macro definitions on the command line
as part of the hash rather than ignoring them. This means we'll end up
building more module variants (overall), but it allows con

When building a module, use the macro definitions on the command line
as part of the hash rather than ignoring them. This means we'll end up
building more module variants (overall), but it allows configuration
macros such as NDEBUG to work so long as they're specified via command
line. More to come in this space.

llvm-svn: 142187

show more ...


# b25bfde5 11-Oct-2011 Daniel Dunbar <daniel@zuster.org>

Frontend: Replace -nostdinc by -nostdsysteminc (which is just system include
paths). The -nostdinc behavior is now -nostdsysteminc + -nobuiltininc.

llvm-svn: 141691


# 698f019e 10-Oct-2011 Francois Pichet <pichet2000@gmail.com>

Revert r140009, about disabling clang's builtin in -fms-compatibility mode.

llvm-svn: 141577


# 1deb5b61 09-Oct-2011 Peter Collingbourne <peter@pcc.me.uk>

OpenCL: add driver/frontend support for precompiled headers

llvm-svn: 141516


# a9455ec9 06-Oct-2011 Peter Collingbourne <peter@pcc.me.uk>

CUDA: add -fcuda-is-device flag

This frontend-only flag is used by the IR generator to determine
whether to filter CUDA declarations for the host or for the device.

llvm-svn: 141301


# 096ed290 05-Oct-2011 Daniel Dunbar <daniel@zuster.org>

Driver & AST: Implement support for -fpack-struct and -fpack-struct= command
line options.
- <rdar://problem/10120602>, PR9631

llvm-svn: 141211


# 9b0a7cea 02-Oct-2011 John McCall <rjmccall@apple.com>

Make -fobjc-nonfragile-abi the -cc1 default, since it's the
increasingly prevailing case to the point that new features
like ARC don't even support the fragile ABI anymore.

This required a little bi

Make -fobjc-nonfragile-abi the -cc1 default, since it's the
increasingly prevailing case to the point that new features
like ARC don't even support the fragile ABI anymore.

This required a little bit of reshuffling with exceptions
because a check was assuming that ObjCNonFragileABI was
only being set in ObjC mode, and that's actually a bit
obnoxious to do.

Most, though, it involved a perl script to translate a ton
of test cases.

Mostly no functionality change for driver users, although
there are corner cases with disabling language-specific
exceptions that we should handle more correctly now.

llvm-svn: 140957

show more ...


# 8d4c8e14 30-Sep-2011 Anna Zaks <ganna@apple.com>

[analyzer] Add -analyzer-purge option which can take on multiple values, remove -analyzer-purge=none. (Small refactor as well: move the work of constructing AnalysisManager from the callers to the cl

[analyzer] Add -analyzer-purge option which can take on multiple values, remove -analyzer-purge=none. (Small refactor as well: move the work of constructing AnalysisManager from the callers to the class itself.)

llvm-svn: 140838

show more ...


# 9c902b55 25-Sep-2011 David Blaikie <dblaikie@gmail.com>

Rename Diagnostic to DiagnosticsEngine as per issue 5397

llvm-svn: 140478


# 83d382b1 23-Sep-2011 David Blaikie <dblaikie@gmail.com>

Switch assert(0/false) llvm_unreachable.

llvm-svn: 140367


# 8404eb0b 22-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

Add support for CPATH and friends.

This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there.
The paths are then passed down to cc1 with -I opti

Add support for CPATH and friends.

This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there.
The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs.
Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend.

I tried to match GCC's behavior as close as possible

Fixes PR8971.

llvm-svn: 140341

show more ...


# 0a3a22fe 21-Sep-2011 Tobias Grosser <grosser@fim.uni-passau.de>

In the OpenCL mode, the AltiVec mode must be off and checks must be strict

OpenCL is different from AltiVec in the way it supports vector literals. OpenCL
is strict with regards to semantic checks.

In the OpenCL mode, the AltiVec mode must be off and checks must be strict

OpenCL is different from AltiVec in the way it supports vector literals. OpenCL
is strict with regards to semantic checks. For example, implicit conversions
and explicit casts between vectors of different types are disallowed.

Fixes PR10975. Submitted by: Anton Lokhmotov <Anton.lokhmotov@gmail.com>

llvm-svn: 140270

show more ...


# 26e80969 19-Sep-2011 Francois Pichet <pichet2000@gmail.com>

Do not use builtin includes if -fms-compatibility is specified. Some MSVC header files have the same name as clang's builtins, this creates clash.

llvm-svn: 140009


# 0706d203 17-Sep-2011 Francois Pichet <pichet2000@gmail.com>

Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear that this flag must be used only for Microsoft extensions and not emulation; to avoid confusion with the new LangOptions::M

Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear that this flag must be used only for Microsoft extensions and not emulation; to avoid confusion with the new LangOptions::MicrosoftMode flag.

Many of the code now under LangOptions::MicrosoftExt will eventually be moved under the LangOptions::MicrosoftMode flag.

llvm-svn: 139987

show more ...


# 1b4f1637 17-Sep-2011 Francois Pichet <pichet2000@gmail.com>

As per discussion with Doug Gregor on the IRC channel, introduce a new compiler switch: -fms-compatility.

Microsoft specific tweaking will now fall into 2 categories:

- fms-extension: Microsof

As per discussion with Doug Gregor on the IRC channel, introduce a new compiler switch: -fms-compatility.

Microsoft specific tweaking will now fall into 2 categories:

- fms-extension: Microsoft specific extensions that should never change the meaning of an otherwise well formed code. Currently map to LangOptions::Microsoft. (To be clearer, I am planning to change the name to LangOptions::MicrosoftExt).

- fms-compatibility: Really a MSVC emulation mode. Map to LangOptions::MicrosoftMode. Can change the meaning of an otherwise standard conformant program.

llvm-svn: 139978

show more ...


# 97eec24b 15-Sep-2011 Douglas Gregor <dgregor@apple.com>

Add an experimental flag -fauto-module-import that automatically turns
#include or #import direcctives of framework headers into module
imports of the corresponding framework module.

llvm-svn: 139860


# 8a880e3f 15-Sep-2011 Douglas Gregor <dgregor@apple.com>

Eliminate the unused -create-module cc1-level option

llvm-svn: 139827


# a739d9a0 14-Sep-2011 Douglas Gregor <dgregor@apple.com>

Encode the module hash in base-36, to reduce the length of the strings a bit

llvm-svn: 139696


# 1735f4e7 13-Sep-2011 Douglas Gregor <dgregor@apple.com>

For modules, use a hash of the compiler version, language options, and
target triple to separate modules built under different
conditions. The hash is used to create a subdirectory in the module
cach

For modules, use a hash of the compiler version, language options, and
target triple to separate modules built under different
conditions. The hash is used to create a subdirectory in the module
cache path where other invocations of the compiler (with the same
version, language options, etc.) can find the precompiled modules.

llvm-svn: 139662

show more ...


# 79a91418 13-Sep-2011 Douglas Gregor <dgregor@apple.com>

Switch LangOptions over to a .def file that describes header of the
language options. Use that .def file to declare the LangOptions class
and initialize all of its members, eliminating a source of an

Switch LangOptions over to a .def file that describes header of the
language options. Use that .def file to declare the LangOptions class
and initialize all of its members, eliminating a source of annoying
initialization bugs.

AST serialization changes are next up.

llvm-svn: 139605

show more ...


# 1e44e022 12-Sep-2011 Douglas Gregor <dgregor@apple.com>

Introduce a cc1-level option to provide the path to the module cache,
where the compiler will look for module files. Eliminates the
egregious hack where we looked into the header search paths for
mod

Introduce a cc1-level option to provide the path to the module cache,
where the compiler will look for module files. Eliminates the
egregious hack where we looked into the header search paths for
modules.

llvm-svn: 139538

show more ...


# 7959fee2 09-Sep-2011 John McCall <rjmccall@apple.com>

Treat the weak export of block runtime symbols as a deployment-target
feature akin to the ARC runtime checks. Removes a terrible hack where
IR gen needed to find the declarations of those symbols in

Treat the weak export of block runtime symbols as a deployment-target
feature akin to the ARC runtime checks. Removes a terrible hack where
IR gen needed to find the declarations of those symbols in the translation
unit.

llvm-svn: 139404

show more ...


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