summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/temp/temp.spec/temp.inst
Commit message (Collapse)AuthorAgeFilesLines
* P0859R0: List-initialization is potentially-constant-evaluated andRichard Smith2018-09-261-0/+12
| | | | | | | | | | | | triggers instantiation of constexpr functions. We mostly implemented this since Clang 6, but missed the template instantiation case. We do not implement the '&cast-expression' special case. It appears to be a mistake / oversight. I've mailed CWG to see if we can remove it. llvm-svn: 343064
* Implement C++17 P0386R2, inline variables. (The 'inline' specifier gives aRichard Smith2016-06-251-0/+10
| | | | | | | variable weak discardable linkage and partially-ordered initialization, and is implied for constexpr static data members.) llvm-svn: 273754
* Sema: Instantiate local class and their members appropriatelyDavid Majnemer2013-11-271-6/+5
| | | | | | | | | | | We would fail to instantiate them when the surrounding function was instantiated. Instantiate the class and add it's members to the list of pending instantiations, they should be resolved when we are finished with the function's body. This fixes PR9685. llvm-svn: 195827
* Instantiating a class template should not instantiate the definition of anyRichard Smith2012-03-141-0/+104
| | | | | | | | scoped enumeration members. Later uses of an enumeration temploid as a nested name specifier should cause its instantiation. Plus some groundwork for explicit specialization of member enumerations of class templates. llvm-svn: 152750
* Turn access control on by default in -cc1.John McCall2010-04-091-1/+1
| | | | | | | | Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
* Instantiate default argument expressions even if their associated parameterJohn McCall2010-04-091-0/+15
type isn't dependent. Fixes rdar://problem/7838962. llvm-svn: 100871
OpenPOWER on IntegriCloud