hanchenye-llvm-project/clang/lib/Parse
Rafael Espindola 273fd772ab Fix our handling of #pragma GCC visibility.
Now the lexer just produces a token and the parser is the one responsible for
activating it.
This fixes problem like the one pr11797 where the lexer and the parser were not
in sync. This also let us be more strict on where in the file we accept
these pragmas.

llvm-svn: 149014
2012-01-26 02:02:57 +00:00
..
CMakeLists.txt Thread Safety: Patch to implement delayed parsing of attributes within a 2011-09-08 17:42:22 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ParseAST.cpp Change ASTConsumer::HandleTopLevelDecl to return true for the parser to continue 2011-11-18 00:26:59 +00:00
ParseCXXInlineMethods.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
ParseDecl.cpp fixes location of "availability" attribute so warning is displayed at 2012-01-23 23:38:32 +00:00
ParseDeclCXX.cpp Support decltype in member initializers. 2012-01-24 06:03:59 +00:00
ParseExpr.cpp Avoid correcting unknown identifiers to types where types aren't allowed. 2012-01-25 20:49:08 +00:00
ParseExprCXX.cpp Avoid correcting unknown identifiers to types where types aren't allowed. 2012-01-25 20:49:08 +00:00
ParseInit.cpp Implement the Microsoft __if_exists/if_not_exists extension in initializer-list. 2011-12-12 23:24:39 +00:00
ParseObjc.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
ParsePragma.cpp Fix our handling of #pragma GCC visibility. 2012-01-26 02:02:57 +00:00
ParsePragma.h Recognize gcc's ms_struct pragma (and ignore for now). 2011-04-25 18:49:15 +00:00
ParseStmt.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
ParseTemplate.cpp Pass context and access to Parser::ParseExplicitInstantiation() for 2011-12-23 02:16:45 +00:00
ParseTentative.cpp With a little more work in the tentative parse determining whether a statement 2012-01-25 01:19:14 +00:00
Parser.cpp Fix our handling of #pragma GCC visibility. 2012-01-26 02:02:57 +00:00
RAIIObjectsForParser.h Rename Diagnostic to DiagnosticsEngine as per issue 5397 2011-09-25 23:23:43 +00:00