aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-18 17:49:58 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-18 17:49:58 +0000
commitedff0200115c2bdfe44fe77a2d10a22a38808d98 (patch)
tree4977d7c6a3aeadea45b832bf020ed92019d3f474 /llvm/lib/CodeGen/DFAPacketizer.cpp
parent9563a053de1337ec8827cf170e39345d541ef87c (diff)
downloadllvm-edff0200115c2bdfe44fe77a2d10a22a38808d98.zip
llvm-edff0200115c2bdfe44fe77a2d10a22a38808d98.tar.gz
llvm-edff0200115c2bdfe44fe77a2d10a22a38808d98.tar.bz2
Allow internal decls in inline functions if the function is in the main file.
This handles the very common case of people writing inline functions in their main source files and not tagging them as inline. These cases should still behave as the user intended. (The diagnostic is still emitted as an extension.) I'm reworking this code anyway to account for C++'s equivalent restriction in [basic.def.odr]p6, but this should get some bots back to green. llvm-svn: 158666
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions