hanchenye-llvm-project/clang/lib/Basic
Dimitry Andric c6d924cd06 Make __FreeBSD_cc_version predefined macro configurable at build time
The `FreeBSDTargetInfo` class has always set the `__FreeBSD_cc_version`
predefined macro to a rather static value, calculated from the major OS
version.

In the FreeBSD base system, we will start incrementing the value of this
macro whenever we make any signifant change to clang, so we need a way
to configure the macro's value at build time.

Use `FREEBSD_CC_VERSION` for this, which we can define in the FreeBSD
build system using either the `-D` command line option, or an include
file.  Stock builds will keep the earlier value.

Differential Revision: http://reviews.llvm.org/D20037

llvm-svn: 270240
2016-05-20 17:27:22 +00:00
..
Attributes.cpp Ignore the "novtable" declspec when not using the Microsoft C++ ABI. 2015-07-20 22:57:31 +00:00
Builtins.cpp Recommit: R258773 [OpenCL] Pipe builtin functions 2016-01-26 04:03:48 +00:00
CMakeLists.txt revert SVN r265702, r265640 2016-04-08 16:52:00 +00:00
CharInfo.cpp
Diagnostic.cpp Optionally demote fatal errors to non-fatal errors. 2016-03-01 10:56:19 +00:00
DiagnosticIDs.cpp Optionally demote fatal errors to non-fatal errors. 2016-03-01 10:56:19 +00:00
DiagnosticOptions.cpp Add `-verify-ignore-unexpected` option to ignore unexpected diagnostics in VerifyDiagnosticsConsumer 2015-06-13 07:11:40 +00:00
FileManager.cpp [FileManager] Don't crash if reading from stdin and stat(".") fails 2016-04-12 16:33:53 +00:00
FileSystemStatCache.cpp [cleanup] Remove some unused #ifdef's 2015-06-11 23:34:13 +00:00
IdentifierTable.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
LangOptions.cpp [modules] Flatten -fmodule-name= and -fmodule-implementation-of= into a single 2016-02-19 22:25:36 +00:00
Module.cpp [modules] Simplify code logic. NFC. 2016-03-09 21:09:51 +00:00
ObjCRuntime.cpp Watch and TV OS: wire up basic ABI choices 2015-10-30 16:30:36 +00:00
OpenMPKinds.cpp [OPENMP 4.0] Fixed DSA analysis for taskloop directives. 2016-04-13 13:36:48 +00:00
OperatorPrecedence.cpp [OpenCL] Adding reserved operator logical xor for OpenCL 2016-02-03 15:17:14 +00:00
SanitizerBlacklist.cpp Replace double-negated !SourceLocation.isInvalid() with SourceLocation.isValid(). 2015-10-03 05:15:57 +00:00
Sanitizers.cpp Pull trivial SanitizerSet methods into the header. 2015-07-14 15:34:19 +00:00
SourceLocation.cpp Removing spurious semi colons; NFC. 2015-06-09 12:04:17 +00:00
SourceManager.cpp One more fix for use of invalid PresumedLocs missed by r267914. 2016-04-28 19:54:51 +00:00
TargetInfo.cpp Enable support for __float128 in Clang and enable it on pertinent platforms 2016-05-09 08:52:33 +00:00
Targets.cpp Make __FreeBSD_cc_version predefined macro configurable at build time 2016-05-20 17:27:22 +00:00
TokenKinds.cpp
Version.cpp
VersionTuple.cpp MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
VirtualFileSystem.cpp [VFS] Reapply #2: Reconstruct the VFS overlay tree for more accurate lookup 2016-05-12 19:13:07 +00:00
Warnings.cpp