]> granicus.if.org Git - clang/commit
[Preprocessor] Iterating over all macros should include those from modules.
authorJordan Rose <jordan_rose@apple.com>
Wed, 24 Jun 2015 19:27:02 +0000 (19:27 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 24 Jun 2015 19:27:02 +0000 (19:27 +0000)
commit096560832fb493d875541c67895eb8a8620b68ed
tree326174cd5008ceadaca19460a2a3c3e75a072b5b
parent13e2ca85e71f1bff6012e802b3a9501def8fc7d5
[Preprocessor] Iterating over all macros should include those from modules.

So, iterate over the list of macros mentioned in modules, and make sure those
are in the master table.

This isn't particularly efficient, but hopefully it's something that isn't
done too often.

PR23929 and rdar://problem/21480635

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240571 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Preprocessor.cpp
test/CodeCompletion/macros-in-modules.c [new file with mode: 0644]
test/CodeCompletion/macros-in-modules.m [new file with mode: 0644]