llvm-project/clang/lib
Richard Smith 38c202e97e When a tag is declared in prototype scope in C, if we've decided that it
redeclares an existing tag but are creating a new declaration anyway (because
it has attributes or changes the visibility of the name), don't warn that it
won't be visible outside the current scope. That's not true.

Also narrow down the set of cases where we create these extra declarations when
building modules; previously, all tag declarations but the first in a module
header would get this treatment if -fmodules-local-submodule-visibility. (This
isn't a functional change, but we try to avoid creating these extra
declarations whenever we can.)

llvm-svn: 257403
2016-01-11 22:41:53 +00:00
..
ARCMigrate Fix funciton->function typo. 2015-12-16 23:10:46 +00:00
AST [OpenCL] Pipe type support 2016-01-09 12:53:17 +00:00
ASTMatchers [ASTMatchers] Add booleanType() matcher. 2015-12-22 20:06:40 +00:00
Analysis Use range-based for loop to avoid the need for calculating an array size. NFC 2015-11-30 03:11:12 +00:00
Basic [vfs] Normalize working directory if requested. 2016-01-09 16:33:16 +00:00
CodeGen Fix -Wmicrosoft-enum-value warning 2016-01-11 20:55:16 +00:00
Driver Update code in buildCudaActions and BuildActions to latest idiom. 2016-01-08 19:04:11 +00:00
Edit Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
Format [clang-format] Fix comment aligning when there are changes within the comment 2016-01-11 16:27:16 +00:00
Frontend Accidentally removed part of the file header. Restoring it back. 2016-01-10 16:18:09 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [PPC] Add long long/double support for vec_cts, vec_ctu and vec_ctf 2016-01-08 02:00:48 +00:00
Index Roll-back r250822. 2015-10-20 13:23:58 +00:00
Lex Properly track that a character literal is UTF-8, and pretty print the prefix properly. 2016-01-07 20:59:26 +00:00
Parse [OpenCL] Pipe type support 2016-01-09 12:53:17 +00:00
Rewrite Roll-back r250822. 2015-10-20 13:23:58 +00:00
Sema When a tag is declared in prototype scope in C, if we've decided that it 2016-01-11 22:41:53 +00:00
Serialization [OpenCL] Pipe type support 2016-01-09 12:53:17 +00:00
StaticAnalyzer AnalysisConsumer: use canonical decl for both lookup and store of 2016-01-11 09:38:48 +00:00
Tooling Add fall-back mode for clang tools. 2015-12-03 10:38:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00