llvm-project/clang/lib/Frontend
John McCall 5677499fbf First pass at implementing C++ enum semantics: calculate (and store) an
"integer promotion" type associated with an enum decl, and use this type to
determine which type to promote to.  This type obeys C++ [conv.prom]p2 and
is therefore generally signed unless the range of the enumerators forces
it to be unsigned.

Kills off a lot of false positives from -Wsign-compare in C++, addressing
rdar://7455616

llvm-svn: 90965
2009-12-09 09:09:27 +00:00
..
ASTConsumers.cpp Small compatibility fix for -print-decl-contexts. 2009-12-08 06:22:37 +00:00
ASTUnit.cpp Remove several .c_str() to be forward-compatible with StringRef. 2009-12-08 01:46:24 +00:00
AnalysisConsumer.cpp Fix crash in DisplayFunction(). ObjCInterfaceDecls can also get passed to this function, but we don't want to display them. 2009-12-09 03:45:19 +00:00
Backend.cpp Increase inlining threshold at -O3, to match llvm-gcc. 2009-12-08 23:15:55 +00:00
CMakeLists.txt Factor out a LangStandard class and coalesce the information about the standards into LangStandards.def 2009-11-26 02:14:31 +00:00
CacheTokens.cpp Fix PR5633 by making the preprocessor handle the case where we can 2009-11-30 04:18:44 +00:00
CompilerInstance.cpp Fix CompilerInstance::createOutputFile to use proper diagnostics, and (try to) update all clients to be able to handle failure. 2009-12-03 09:13:30 +00:00
CompilerInvocation.cpp Add clang-cc option '-analyzer-opt-analyze-nested-blocks' to treat block literals as an entry point for analyzer checks. 2009-12-07 22:06:12 +00:00
DeclXML.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
DependencyFile.cpp Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. 2009-11-28 10:07:24 +00:00
DiagChecker.cpp Kill a few more random stderr uses. 2009-12-03 09:14:02 +00:00
DocumentXML.cpp First part of changes to eliminate problems with cv-qualifiers and 2009-11-16 21:35:15 +00:00
FixItRewriter.cpp Kill a few more random stderr uses. 2009-12-03 09:14:02 +00:00
FrontendAction.cpp Fix ASTUnit to allows require a (persistent) Diagnostic object be provided; propogate and simplify. 2009-12-03 01:45:44 +00:00
FrontendActions.cpp Fix CompilerInstance::createOutputFile to use proper diagnostics, and (try to) update all clients to be able to handle failure. 2009-12-03 09:13:30 +00:00
FrontendOptions.cpp recognize .hpp as c++ (needed for ./configure'ing boost) 2009-11-17 15:36:35 +00:00
GeneratePCH.cpp Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. 2009-11-28 10:07:24 +00:00
HTMLDiagnostics.cpp Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. 2009-11-28 10:07:24 +00:00
HTMLPrint.cpp Kill PreprocessorFactory, which was both morally repugnant and totally unused. 2009-11-04 23:56:25 +00:00
InitHeaderSearch.cpp Twinify InitHeaderSearch::AddPath and use it in C++ include path generation. 2009-12-08 12:38:20 +00:00
InitPreprocessor.cpp Integrate the following from the 'objective-rewrite' branch: 2009-12-04 21:29:41 +00:00
LangStandards.cpp Factor out a LangStandard class and coalesce the information about the standards into LangStandards.def 2009-11-26 02:14:31 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
PCHReader.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
PCHReaderDecl.cpp First pass at implementing C++ enum semantics: calculate (and store) an 2009-12-09 09:09:27 +00:00
PCHReaderStmt.cpp DeclRefExpr stores a ValueDecl internally. 2009-12-08 09:08:17 +00:00
PCHWriter.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
PCHWriterDecl.cpp First pass at implementing C++ enum semantics: calculate (and store) an 2009-12-09 09:09:27 +00:00
PCHWriterStmt.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
PlistDiagnostics.cpp Try to make the output of PlistDiagnostics more deterministic by sorting PathDiagnostics before they are emitted. Fixes <rdar://problem/7439668>. 2009-12-03 19:35:02 +00:00
PrintParserCallbacks.cpp Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
PrintPreprocessedOutput.cpp Neil points out that this could be simplified, do it. 2009-12-09 02:08:14 +00:00
RewriteBlocks.cpp Change all the Type::getAsFoo() methods to specializations of Type::getAs(). 2009-09-21 23:43:11 +00:00
RewriteMacros.cpp Fix PR5633 by making the preprocessor handle the case where we can 2009-11-30 04:18:44 +00:00
RewriteObjC.cpp DeclaratorInfo -> TypeSourceInfo. Makes an effort to rename associated variables, 2009-12-07 02:54:59 +00:00
RewriteTest.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
StmtXML.cpp Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. 2009-11-28 10:07:24 +00:00
TextDiagnosticBuffer.cpp Add TextDiagnosticBuffer::FlushDiagnostics, for forwarding the buffered diagnostics to a different diagnostics engine. 2009-11-30 08:41:34 +00:00
TextDiagnosticPrinter.cpp Fix an off by one in findEndOfWord, which could scan past the end of the string in a corner case. 2009-12-06 09:56:18 +00:00
TypeXML.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
VerifyDiagnosticsClient.cpp Fix PR5633 by making the preprocessor handle the case where we can 2009-11-30 04:18:44 +00:00
Warnings.cpp Move warning options into DiagnosticOptions. 2009-11-12 07:28:44 +00:00